有关css清空样式比较全的总结
2020-02-04 19:15
796 查看
@charset "utf-8";
/* Reset css*/
body,h1,h2,h3,h4,h5,h6,div,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td{margin:0;padding:0}
body,button,input,select,textarea{font:12px/1.5 tahoma,arial,\5b8b\4f53}
body{_overflow:auto;_height:100%;margin:0 auto;}
html{_overflow:hidden}
h1,h2,h3,h4,h5,h6{font-size:100%}
address,cite,dfn,em,var{font-style:normal}
code,kbd,pre,samp{font-family:courier new,courier,monospace}
small{font-size:12px}
ul,ol,li,dl,dt,dd{list-style:none}
sup{vertical-align:text-top}
sub{vertical-align:text-bottom}
legend{color:#000}
fieldset,img{border:0}
button,input,select,textarea{font:12px/1.5 tahoma,arial,sans-serif; vertical-align:middle;cursor:pointer}
table{border-collapse:collapse;border-spacing:0}
.clear{display:block;float:none;clear:both;overflow:hidden;visibility:hidden;width:0;height:0;background:none;border:0;font-size:0}
/*a*/
a{ text-decoration:none; color:#555;}
a:hover{ color:#ff6600;}
/*title*/
h1 { font-size:50px;}
h2 { font-size:40px;}
h3 { font-size:30px;}
h4 { font-size:14px;}
h5 { font-size:12px;}
h6 { font-size:9px;}
/* Reset css*/
body,h1,h2,h3,h4,h5,h6,div,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td{margin:0;padding:0}
body,button,input,select,textarea{font:12px/1.5 tahoma,arial,\5b8b\4f53}
body{_overflow:auto;_height:100%;margin:0 auto;}
html{_overflow:hidden}
h1,h2,h3,h4,h5,h6{font-size:100%}
address,cite,dfn,em,var{font-style:normal}
code,kbd,pre,samp{font-family:courier new,courier,monospace}
small{font-size:12px}
ul,ol,li,dl,dt,dd{list-style:none}
sup{vertical-align:text-top}
sub{vertical-align:text-bottom}
legend{color:#000}
fieldset,img{border:0}
button,input,select,textarea{font:12px/1.5 tahoma,arial,sans-serif; vertical-align:middle;cursor:pointer}
table{border-collapse:collapse;border-spacing:0}
.clear{display:block;float:none;clear:both;overflow:hidden;visibility:hidden;width:0;height:0;background:none;border:0;font-size:0}
/*a*/
a{ text-decoration:none; color:#555;}
a:hover{ color:#ff6600;}
/*title*/
h1 { font-size:50px;}
h2 { font-size:40px;}
h3 { font-size:30px;}
h4 { font-size:14px;}
h5 { font-size:12px;}
h6 { font-size:9px;}
- 点赞
- 收藏
- 分享
- 文章举报
相关文章推荐
- 一年左右工作经验及小白前端面试问题总结(1)有关css(或样式)的常见面试问题
- 比较完整的CSS定义表格样式
- 目前比较全的CSS重设(reset)方法总结
- 目前比较全的CSS重设(reset)方法总结
- Web学习总结第二天-CSS基本样式
- 总结:用CSS进行网页样式设计攻略全集
- 目前比较全的CSS重设(reset)方法总结
- CSS常见样式总结
- 目前比较全的CSS重设(reset)方法总结
- 目前比较全的CSS重设(reset)方法总结
- CSS的基本样式总结(一)
- CSS样式定义的优先级顺序总结
- 16、响应式布局和BootStrap 全局CSS样式知识点总结-part3
- 目前比较全的CSS重设(reset)方法总结
- CSS的基本样式总结(三)
- 总结:用CSS进行网页样式设计攻略全集
- 网页中应用CSS的多种样式总结
- 目前比较全的CSS重设(reset)方法总结
- 比较全的CSS cursor(鼠标样式)
- CSS学习笔记——CSS选择器样式总结