css代码初始化

@charset "utf-8";
/* 页面元素初始化和常用样式定义-start */
/*======== 全局 ========*/
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, blockquote, th, td {
margin: 0;
padding: 0;
}
body {
font-size: 12px;
color: #666;
font-family: Verdana, Microsoft YaHei, Simsun;
background: #fff;
line-height: 24px;
}
fieldset, img {
border: 0;
}
ol, ul {
list-style: none;
}
h1, h2, h3, h4, h5, h6 {
font-size: 100%;
}
em {
font-style: normal;
}
input, button, select, textarea {
outline: none;
}
/*禁用了文本的拖拉,尤其在谷歌下*/
textarea {
resize: none;
}
/*为了使文本段落左右两边对齐*/
p {
text-align: justify;
text-justify: distribute;
}
/*======== Link ========*/
a {
color: #666;
text-decoration: none;
}
a:hover {
color: #f60;
text-decoration: none;
}
/*清空浮动的代码-start*/
.clr:after {
content: "";
display: table;
clear: both
}
.clr {
*zoom:1;
}
/*清空浮动的代码-end*/
/* 页面元素初始化和常用样式定义-end */


END
---------------------------------------------------------------------------------------------
欢迎关注 我的微博@疯狂的迈步 我的github@junhey
原文地址:https://www.cnblogs.com/junhey/p/3689281.html