class-to-style
v1.0.17
Published
style your content with only class name
Downloads
1
Readme
You can just use class to style your html element, It's very easy but powerful.
<div class="margin-20-30">
<div class="width-50 height-50">
<div class="rotate-90-deg font-12-regular">this div will rotate 90 deg</div>
</div>
</div>
Install
yarn add class-to-style
// or
npm install class-to-style
// usage
import 'class-to-style/dist/class-to-style.min.css'
Support css
.flex, .flex.wrap .flex-column, .flex-column.wrap child: align-self-end child: align-self-center .flex-space-between .flex-justify-content-space-between .flex-space-around .flex-justify-content-space-around .flex-center .flex-justify-center .flex-justify-content-center .flex-align-start .flex-align-center .flex-align-end
Author
👤 caowei
- Website: https://tsaowe.github.io
- Github: @tsaowe
Show your support
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator