css reset

简介:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*reset*/
*{-webkit-box-sizing:border-box; -moz-box-sizing:border-box; -ms-box-sizing:border-box; box-sizing:border-box;}
html,body,h 1 ,h 2 ,h 3 ,h 4 ,h 5 ,h 6 ,hr,p, pre ,blockquote,dl,dd,ul,li,ol,fieldset,legend,figure,input,textarea,button,select{ margin 0 padding 0 ;}
header,footer,section,article,aside,nav,address,figure,figcaption,menu,details{ display : block ;}
body,button,input,select,textarea{ font 16px / 1.5  '方正兰亭黑体' , 'Microsoft Yahei' , '楷体' , arial , serif ;}
body{ width 100% color #909396 ;}
h 1 ,h 2 ,h 3 ,h 4 ,h 5 ,h 6 { font-size 100% font-weight normal ;}
address,cite,dfn,em,var,i{ font-style normal ;}
ul,ol{ list-style none ;}
a{ text-decoration none color #849CBA ;}
a:link{ text-decoration : none ;}
fieldset,img{ border 0  none ;}
img{ vertical-align middle ;}
button,input,select,textarea{ font-size 100% outline none ;}
button{ background-color #fff ;}
table{ border-collapse collapse border-spacing 0 ;}
input,select{ border : none ;}
input::-webkit-search-cancel-button{ display none ;}   /*--清除谷歌浏览器下的 search 叉号*/
input::-ms-clear{ display none ;}  /* --清除IE下的 叉号*/
input{-webkit-appearance :  none ;}  /*-- 清除safari下的默认样式*/
 
/*base*/
.clear{ clear : both ;}
.clearfix{zoom: 1 ;}
.clearfix:after{ display : block content : '' clear both ;}
. hidden { display none ;}
.nobor{ border : none  !important ;}
.br 5 {-webkit-border-radius: 5px ; -moz-border-radius: 5px ; border-radius: 5px ;}
.br 10 {-webkit-border-radius: 10px ; -moz-border-radius: 10px ; border-radius: 10px ;}
本文转自   frwupeng517   51CTO博客,原文链接:http://blog.51cto.com/dapengtalk/1852211
相关文章
|
6天前
|
前端开发
CSS Reset或Normalize.css
CSS Reset或Normalize.css
|
2月前
|
移动开发 前端开发 JavaScript
揭秘VSCode魔法工具箱:HTML5 & CSS3 超强插件集合 + Css Reset与Normalize.css的终极对决
揭秘VSCode魔法工具箱:HTML5 & CSS3 超强插件集合 + Css Reset与Normalize.css的终极对决
|
Web App开发 前端开发 搜索推荐
CSS Reset & Modern CSS Reset
CSS Reset & Modern CSS Reset
199 1
CSS Reset & Modern CSS Reset
|
前端开发
现代浏览器样式重置CSS Reset 方案汇总整理
现代浏览器样式重置CSS Reset 方案汇总整理
105 0
现代浏览器样式重置CSS Reset 方案汇总整理
|
前端开发
Normalize.css:CSS reset的替代方案
Normalize.css:CSS reset的替代方案
134 0
|
前端开发
重置浏览器样式CSS Tools: Reset CSS
重置浏览器样式CSS Tools: Reset CSS
124 0
|
Web App开发 前端开发 UED
现代 CSS 解决方案:Modern CSS Reset
现代 CSS 解决方案:Modern CSS Reset
218 0
现代 CSS 解决方案:Modern CSS Reset
|
Web App开发 移动开发 前端开发
|
前端开发 BI 移动开发
移动端reset.css
说明 移动端reset.css,来自张鑫旭网站的推荐,下载地址:https://huruqing.gitee.io/demos/source/reset.
1922 0