首页 > 代码库 > 初始化CSS样式
初始化CSS样式
/* 初始化CSS */ | |
html, body, ul, li, ol, dl, dd, dt, p, h1, h2, h3, h4, h5, h6, form, fieldset, legend, img { margin:0; padding:0; } | |
fieldset, img { border:none; } | |
img{display: block;} | |
address, caption, cite, code, dfn, th, var { font-style:normal; font-weight:normal; } | |
ul, ol { list-style:none; } | |
input { padding-top:0; padding-bottom:0; font-family: "SimSun","宋体";} | |
input::-moz-focus-inner { border:none; padding:0; } | |
select, input { vertical-align:middle; } | |
select, input, textarea { font-size:12px; margin:0; } | |
input[type="text"], input[type="password"], textarea { outline-style:none; -webkit-appearance:none; } | |
textarea { resize:none; } | |
table { border-collapse:collapse; } | |
body { color:#333; padding:5px 0; font:12px/20px "SimSun","宋体","Arial Narrow",HELVETICA; background:#fff;/* overflow-y:scroll;*/ } | |
.clearfix:after { content:"."; display:block; height:0; visibility:hidden; clear:both; } | |
.clearfix { zoom:1; } | |
.clearit { clear:both; height:0; font-size:0; overflow:hidden; } | |
a { color:#666; text-decoration:none; } | |
a:visited { color:#666; } | |
a:hover, a:active, a:focus { color:#ff8400; text-decoration:underline; } |
初始化CSS样式
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。