1 Star 0 Fork 0

luochan / cc-style

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Installation

npm install --save cc-style

Usage

//常用的样式
import 'node_modules/cc-style/dist/common.min.css'
//规范样式表
import 'node_modules/cc-style/dist/normalize.min.css'

对所有样式均采用统一命名方法".品牌名-属性名首写字母联合不保留破折号-属性值首写字母联合保留破折号",比如品牌名称设置为cc,需要调用justify-content: flex-start属性,则合成类名为cc-jc-f-s

common.min.css

由以下目录结构文件内容组成 style ├── color.scss ├── flex.scss ├── font.scss ├── margin.scss ├── padding.scss └── prefix.scss

normalize.min.css

style └── normalize.scss

空文件

简介

一个公共样式npm包 展开 收起
CSS 等 2 种语言
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
CSS
1
https://gitee.com/heythanks/cc-style.git
git@gitee.com:heythanks/cc-style.git
heythanks
cc-style
cc-style
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891