手机站常用的基本css
2016-07-07 11:56
633 查看
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; } /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, main { display: block; } body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0; }
body{ margin:0px; padding:0px; font-size:12px; color:#6B6B6B; font-family:"Microsoft YaHei";}
ul,li,p,form,div{ margin:0px; padding:0px;}
h1,h2,h3,h4,h5,h6{ margin:0px; padding:0px; font-weight:100;}
ul,ol,li{ list-style:none;}
a{ color:#6B6B6B; font-size:12px; text-decoration:none; font-family:"Microsoft YaHei";}
a:visited{color:#6B6B6B;}
a:hover{color:#F60;}
img{ border:0px solid #fff;}
.clear{ clear:both;}
.position{ clear:both; width:1200px; margin:0px auto; line-height:30px; text-align:left;}
.br{ height:5px; border:0px solid #fff; line-height:5px; font-size:5px;}
.bigbr{ height:10px; border:0px solid #fff; line-height:10px; font-size:10px;}
.container{ width:1200px; margin:0px auto;}
.right{ float:right;}
.wrap{ width:1250px; margin:0px auto;}
.wrap1200{ width:1200px; margin:0px auto;}
.color_white{ color:#FFF;}
.color_black{ color:#898989;}
.color_red{ color:#ea2833;}
.bold{ font-weight:bold;}
.font-14{ font-size:14px;}
.font-16{ font-size:16px;}
.font-18{ font-size:18px;}
.font-20{ font-size:20px;}
.font-24{ font-size:24px;}
.font-30{ font-size:30px;}
.font-36{ font-size:36px;}
.line18{ line-height:18px;}
.line20{ line-height:20px;}
.line22{ line-height:22px;}
.line25{ line-height:25px;}
相关文章推荐
- writing-mode与direction的用法、区别
- CSS3系列一(概述、选择器、使用选择器插入内容)
- 使用CSS选择器在页面中插入内容
- webstrom 2016.1 破解链接
- text-align:center 和margin:0 auto的区别
- css中元素的分类
- CSS Z-index属性 和 @keyframes创建动画
- 深入理解CSS弹性盒模型flex
- css文件开头需要注意的几点(有待补充)
- 左侧固定,右侧是竖着的子菜单样式
- CSS调试手机屏幕的适配方法
- CSS自定义滚动条
- css3的filter
- css学习总结
- 重设浏览器默认样式
- css布局通用类
- 冰艺小例子3
- 冰艺小例子2
- 冰艺小例子1
- css命名规则