css reset样式初始化
2016-08-27 20:43
435 查看
/* reset */ html{color:#000;background:#fff;} body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,input,button,textarea,p,blockquote,th,td{margin:0;padding:0;} body{font:12px/1 Tahoma,Helvetica,Arial,"\5b8b\4f53",sans-serif;} img{border:none;} em,strong{font-style:normal;font-weight:normal;} li{list-style:none;} table {border-collapse:collapse;border-spacing:0;} h1{font-size:18px;} h2{font-size:16px;} h3{font-size:14px;} h4, h5, h6{font-size:100%;} q:before,q:after{content:'';}/* 消除q前后的内容 */ button,input,select,textarea{font-size:100%;}/* 使得表单元素在 ie 下能继承字体大小 */ input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;} address,cite,dfn,em,var{font-style:normal;} /* 将斜体扶正 */ /* link */ a{color:#36c;text-decoration:none;} a:hover{color:#f60;text-decoration:underline;}
相关文章推荐
- java-WEB中的监听器Lisener
- GUI - Web前端开发框架
- Extjs4.0 最新最全视频教程
- Web布局连载——两栏固定布局(五)
- [div+css]晒晒最新制作专题推广页模板
- MyEclipse Web Project转Eclipse Dynamic Web Project
- axis备忘
- 盒子模型
- CSS选择器
- CSS样式优先权
- [css] line-height 百分比单位和数值单位的区别
- css如何搞正方形
- Apple官网研究之使用Justify布局导航
- 关于前端的思考与感悟
- rem : web app适配的秘密武器
- jquery高级应用之Deferred对象
- 移动端点击事件全攻略,这里的坑你知多少?
- $q 实例分析 Angular 中的 Promise