雅虎工程师初始化css
2015-07-07 17:52
543 查看
/*css reset code */ /**** 文字大小初始化,使1em=10px *****/ body { font-size:62.5%; } /* for IE/Win */ html>body { font-size:15px; } /* for everything else */ /*字体边框等初始化*/ body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { padding: 0; margin: 0; } table { border-collapse: collapse; border-spacing: 0; } fieldset,img { border: 0; } img { display:block; } address,caption,cite,code,dfn,th,var { font-weight: normal; font-style: normal; } ol,ul { list-style: none; } caption,th { text-align: left; } h1,h2,h3,h4,h5,h6 { font-weight: normal; font-size: 100%; } q:before,q:after { content:''; } abbr,acronym { border: 0; } a { text-decoration:none; } /*初始化结束*************************************************************** */
相关文章推荐
- CSS简单理解与应用
- css阴影
- JS+CSS简单实现DIV遮罩层显示隐藏
- DIV+CSS设置及问题总结
- 【css实践】清除浮动总结
- css学习笔记
- css 修改页面选中时背景颜色
- CSS-Transform-transition-Animation
- CSS3实现时间轴效果
- css-display:inline-block引起的上边距差1px
- CSS3实现时间轴效果
- 【转】 CSS3实现10种Loading效果
- CSS 去掉inline-block元素间隙的几种方法
- CSS的margin塌陷
- CSS3制作苹果手机的Message图标,超强大
- CSS:你未必知道的@规则
- CSS3:clip-path详解
- css3动画学习的例子来源
- css 使容器宽度适应内容宽
- 关于“被继承的样式特性值为0”的理解