@zouhuili/init-css
v1.0.7
Published
内置flex、margin、padding、font等常用css,无需编写冗长样式表,直接使用类名
Downloads
7
Readme
init-css
ability
内置flex,marigin,padding,font等常用css,无需编写冗长样式表,直接使用类名
quick start
安装
npm i @zouhuili/init-css
引入
sass项目直接使用
import "@zouhuili/init-css"
引入其他项目使用
import "@zouhuili/init-css/init.css"
rule
属性名每个单词首字母-属性值每个单词首字母或数值
举例:.p-r {position: relative;}
常用的可以直接使用语义
举例: .flex {display: flex;}
vesion
|版本号|说明
|---|---
|1.0.1|初始版本
|1.0.2|优化权重,避免被外部引入的第三方样式覆盖
|1.0.3|支持直接使用css
|1.0.4|a
标签默认样式优先级调整
|1.0.5|.icon
类名改为.z-icon
,此类名太常用,避免与项目中冲突
|1.0.6|增加ai-fe
类名
|1.0.7|增加ai-s
类名
author
huzouzou
keywords
scss css
FAQ
If you have any question, you can contract me with QQ(1321176618
)