Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 1.47 KB

README.md

File metadata and controls

57 lines (39 loc) · 1.47 KB

tailwindcss border sketch

Simple plugin that adds Border Sketch Style to tailwindcss

Example:

example

Demo:

ATM Blog

Installation

NPM:

npm i tailwindcss-border-sketch

Yarn:

yarn add tailwindcss-border-sketch

Setup

In your Tailwindcss config file add the pligin to the plugins array

plugins: [
    require('tailwindcss-border-sketch')(),
]

Then if you re-run your build suite, all the classes are available to use.

Usage:

<lable>Small :</lable>
<div class="border-sketchy-sm bg-white p-6 m-8 shadow hover:border-sketchy-lg hover:shadow-lg transition duration-700 ease-in-out ">
    border-sketchy-sm hover:border-sketchy-lg
</div>

<lable>Medium :</lable>
<div class="border-sketchy-md bg-white p-6 m-8 shadow hover:border-sketchy-lg hover:shadow-lg transition duration-700 ease-in-out ">
    border-sketchy-md hover:border-sketchy-sm
</div>

<lable>Large :</lable>
<div class="border-sketchy-lg bg-white p-6 m-8 shadow hover:border-sketchy-sm hover:shadow-lg transition duration-700 ease-in-out ">
    border-sketchy-lg hover:border-sketchy-md
</div>