css helper class
2014-04-09 14:08
197 查看
应该习惯的css helper class
.text-centered | text-align: center; |
.text-right | text-align: right; |
.small | small font size from variables.less |
.last | margin-right: 0; |
.pause | margin-bottom: baseline/2; |
.end | margin-bottom: 0; |
.normal | font-weight: normal; |
.bold | font-weight: bold; |
.italic | font-style: italic; |
.group | clearfix layer |
.right | float: right; |
.left | float: left; |
.nowrap | white-space: nowrap; |
.req .required | font-weight: normal; + red color from variables.less |
.success | green color from variables.less |
.error | red color from variables.less |
.color-gray | color: #777; |
.color-gray-light | color: #999; |
.color-black | color: #000; |
.color-red | red color from variables.less |
.color-green | green color from variables.less |
.no-wrap-line | overflow: hidden;text-overflow: ellipsis;white-space: nowrap;display: block |
相关文章推荐
- HOW TO: Implement a DataSet JOIN helper class in Visual C# .NET(DataSetHelper)
- css中SPAN和DIV,Class与ID的区别汇总
- css应对已有class和特殊class的冲突
- css中id和class的定义格式、使用技巧及选择
- css样式之_class和style总结
- 使用 CSS(样式表)的 class
- 直接在通过标记添加css与通过添加class的区别
- js 中如何操作css中class的值,和它在IE 和 F F中的区别
- bootstrap基本CSS Class
- React Native 集成到 Android 原生项目中踩坑记录 (Didn't find class "com.facebook.jni.IteratorHelper")
- Caused by: java.lang.ClassNotFoundException: Cannot find class: com.github.pagehelper.PageIntercepto
- js获取某元素的class里面的css属性值
- css 当用id选择器与 class 选择器选择同一目标但是应用不同修饰时的选择问题
- ExtJs 通过 toggleClass 实现样式切换 ——以及更多的CSS操作
- CSS多个class中 空格 和 没有空格的情况。
- 详细了解CSS中的class与id区别及用法
- javascript修改css的class名字
- [CSS]如何正确使用ID和Class?
- 设置或取得元素的CSS class
- CssClass初步语法了解