您的位置:首页 > Web前端 > CSS

cssReset - css初始化

2016-04-20 23:20 218 查看
/*cssReset.css文件内容*/
@charset "utf-8"
/*整个页面的文字和背景色*/
html{
color:#000;
background:#FFF;
}
/*设置外边距和内边距*/
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td{
margin:0;
padding:0;
}
/*设置表格的边框之间的间距*/
table{
border-collapse:collapse;
border-spacing:0;
}
/*字体样式*/
em,
strong,
b,
u,
i{
font-style:normal;
font-weight:normal;
}
/*去掉圆点*/
ul,
ol{
list-style:none;
}
/*字体样式*/
h1,
h2,
h3{
font-size:100%;
font-weight:normal;
}
/*字体样式*/
input,
textarea,
select{
font-family:inherit;
font-size:inherit;
font-weight:inherit;
*font-size:100%; /* 兼容IE*/
}
/*图片去边框*/
img{
boder:0 none;
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: