0.0.3 • Published 5 years ago
tailwind-lite v0.0.3
tailwind-lite
Still working in progress...
- import pure css, no postcss or sass needed
- customizable via css variables
- compatible with no-browser environment, such as wechat miniprogram
Installation
npm i tailwind-liteUsage
import 'tailwind-lite'
// begin your magicNote
Currently, all the / in class names should be replaced by o, and all the . should be replaced by p for some reasons,for example:
<!-- won't work -->
<div class="w-1/2"></div>
<div class="gap-0.5"></div>should be written like this:
<!-- will work -->
<div class="w-1o2"></div>
<div class="gap-0p5"></div>