常用的style.css

*{
-webkit-box-sizing:border-box; /* 设置盒模型为内减模式 */
-moz-box-sizing:border-box;
box-sizing:border-box;
}
html{
font-family:"microsoft yahei",Helvetica,Arial,sans-serif;
font-weight:normal;
font-style:normal;
}
body,p,form,input,button,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6{margin:0;padding:0;border: 0;}
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}
input,textarea,select{outline:none; -webkit-appearance:none;} /* 清除IOS下按钮原生样式 */
textarea{resize:none;} /* 不允许调整元素宽高 */
table{border-collapse:collapse;} /* 为表格设置合并边框模型 */
input,select,textarea{outline:none;border:none;background:none;} /* 清除默认样式 */
a{text-decoration:none;outline:none;cursor:pointer;color: #232323;line-height:0;}
em,i,b{font-style:normal;}
li,ol{list-style:none;}
body{width:100%;max-width: 750px;margin: 0 auto;background: #fff;}
img{border:none;width:100%;vertical-align:top;}
.clearfix{*zoom:1;}.clearfix:after{display:block;overflow:hidden;clear:both;height:0;visibility:hidden;content:".";}
.fl{float: left;}
.fr{float: right;}
/* 修改plachholder颜色 */
input::-webkit-input-placeholder { /* WebKit browsers */
color: #8f8f8f;
}
input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
color: #8f8f8f;
}
input::-moz-placeholder { /* Mozilla Firefox 19+ */
color: #8f8f8f;
}
input:-ms-input-placeholder { /* Internet Explorer 10+ */
color: #8f8f8f;
}
body{font-family: "微软雅黑";}

 

转载于:https://www.cnblogs.com/studyh5/p/7798310.html

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值