平台全局 css代码,css全局样式基础代码(示例代码)

简介这篇文章主要介绍了css全局样式基础代码(示例代码)以及相关的经验技巧,文章约900字,浏览量402,点赞数4,值得参考!

body{

font-size:12px; font-family:"宋体",Arial, Helvetica, sans-serif;color:#363636;background:#e5e5e5 url(../images/bpbg.jpg) center top no-repeat;}

html, body, div, span, h1, h2, h3, h4, h5, h6, em, img, strong, sub, sup, tt,dd, dl, dt, form, label, table, caption, tbody, tfoot, thead, tr, th, td,ul,li,p,a{ margin: 0; padding: 0;  }

.cbody{ margin:0 auto;width:982px; position:relative;background:#FFF;}

input,select,textarea{ vertical-align:middle;}

img{ border:0;}

ul,li{ list-style-type:none;}

a:link,a:visited{

text-decoration:none;color:#010101;}

a:hover{text-decoration:underline;color:#ED0909;}

.overhide{overflow:hidden;text-indent:-100em; }

.clear {clear: both;}

.clearfix:after {clear: both;content: ‘ ‘;display: block;font-size: 0;line-height: 0;visibility: hidden;width: 0;height: 0;}

.clearfix{zoom:1}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值