css之reset.css
2017-07-03 15:14
211 查看
html{ font-size:62.5%; } html,body{ margin:0; padding:0; } ::selection{ background-color:#b3d4fc; text-shadow:none; } ul{ margin:0; padding:0; list-style: none; } .text-ellipsis{ float: left; font-size:1.5rem; overflow: hidden; white-space: nowrap; -ms-text-overflow: ellipsis; text-overflow: ellipsis; } .pull-right{ float: right;!important; } .pull-left{ float: left;!important; } .center-block{ display: block; margin:0 auto; } .text-right{ text-align: right;!important; } .text-center{ text-align: center;!important; } .text-left{ text-align:left;!important; } .hide{ display: none;!important; } .show{ display: block;!important; } .text-hide{ font:0/0 a;/*font-size/line-height font-family*/ color:transparent; text-shadow: none; background-color: transparent; border:none; } .clear-fix::before,/*before为了防止上下margin叠加*/ .clear-fix::after{ content:''; display: table; } .clear-fix::after{ clear:both; }
相关文章推荐
- No CSS Reset
- Dawn CSS Reset
- 打造自己的reset.css
- 目前比较全的CSS重设(reset)方法总结
- myreset.css
- Normalize.css和 reset.css 区别
- css定义有序列表样式以及counter-reset、counter-increment 的使用
- 201501031517_reset.css
- reset.css
- No CSS Reset
- 去掉table的默认样式 reset.css
- reset.css
- reset.css
- Reset css
- css中的reset样式(含clearfix)
- CSS_Reset_最近常用的一段Reset
- 目前比较全的CSS重设(reset)方法总结
- 打造自己的reset.css
- 移动端reset.css
- reset.css的一般写法