css格式化代码

 1 @charset "utf-8";
 2 body{margin:0px; padding:0px; margin:0px auto; font-size:14px; line-height:24px; color:#606060; width:100%; min-width:1000px; width:expression((documentElement.clientWidth < 1000) ? "1000px" : "100%" ); zoom:1; font-family:微软雅黑;}
 3 a,ul,li,form, dl,dt,dd, div,aside,figcaption,article,h1,h2,h3,h4,h5,h6,p,i,em{ font-style:normal;padding: 0px; margin: 0px;list-style:none; font-weight:normal; }
 4 select,input,textarea{ border-radius:2; -webkit-border-radius:2; color:#666666; font-size:12px; font-family:"微软雅黑",Arial;}
 5 input:focus { outline: none;}
 6 form,input,button,select,textarea{outline:none;/*-webkit-appearance:none;*//*强制去除表单自带的样式*/ vertical-align:middle;}
 7 textarea{resize:none;/*-webkit-appearance:none;*//*强制去除textarea自带的样式*/ }
 8 textarea,input,select { border:none; margin:0; padding:0;}
 9 article,aside,footer,header,hgroup,nav,section,figure,figcaption{ display: block;} /*html5设置*/
10 figure,figcaption{ margin:0px; padding:0px;}
11 form,input{margin:0px; padding:0px;}
12 audio,canvas,progress,video { display: inline-block; vertical-align: baseline;}
13 img{ border:none; border:0;  vertical-align:top;padding:0;margin:0;}
14 a{ color:#606060; text-decoration:none;cursor:pointer;}
15 a:focus {outline:none; -moz-outline:none;}
16 a:hover{ text-decoration:none; color:#000000;}
17 .fl{ float:left;}.fr{ float:right;}
18 .clear{ clear:both;}
19 .clearfix{overflow:hidden;_zoom:1;}
20 .w1100{width: 1100px;margin: 0 auto;}

 

转载于:https://www.cnblogs.com/ghfjj/p/6306218.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值