一般css样式开头公共部分

@charset "utf-8";

/* CSS Document -- skyren */

body {
font-family: "微软雅黑", Arial, Helvetica, sans-serif;
font-size: 14px;
font-style: normal;
line-height: 22px;
font-weight: normal;
font-variant: normal;
color: #666666;
background: #fff;
}

body,html,ul,dl,dd,dt,ol,li,p,h1,h2,h3,h4,h5,h6,form,fieldset,table,img,td,div,input {
margin: 0;
padding: 0;
}

table {
border-collapse: collapse;
border-spacing: 0;
}

a {
outline-style: none;
color: #666;
text-decoration: none;
border: 0px;
}

a:hover {
text-decoration: none;
color: #22279f;
}


/*input,select,textarea{font-size:12px; font-family:Arial, Helvetica, sans-serif; color:#666;outline:none;}*/


/*input{ border:0;}*/


/*清除图片的默认样式*/

img {
border: none;
}

li {
list-style-type: none;
vertical-align: 0;
}

.hidden {
display: none;
}

.fleft {
float: left;
}

.fright {
float: right;
}

.pr {
position: relative;
}

.pa {
position: absolute
}

.clear {
clear: both;
height: 0;
line-height: 0;
overflow: hidden;
font-size: 0;
}

textarea {
resize: none;
}

.font_12 {
font-size: 12px;
}

.font_14 {
font-size: 14px;
}

.font_16 {
font-size: 16px;
}

.font_18 {
font-size: 18px
}

.font_22 {
font-size: 22px;
}

.fbold {
font-weight: 700;
}

.w983 {
983px;
margin: 0 auto;
}

.more {
float: right;
color: #acacac;
font-size: 12px;
font-weight: 400;
}

.dis_inline {
display: inline;
}

.p_over_h {
overflow: hidden!important;
}

.margin_n {
margin-top: 0!important;
}


原文地址:https://www.cnblogs.com/xxp0921/p/5556546.html