/**
**/
//\5b8b\4f53
//$yh:'Microsoft Yahei';
body,
textarea,
input,
select,
option {
font-size: 14px;
color: #333;
font-family: "Hiragino Sans GB", "Microsoft Yahei", tahoma, arial, sans-serif;
-webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-size: 100%;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
ol,
ul,
dl,
dd,
p,
textarea,
input,
select,
option,
form {
margin: 0;
}
ol,
ul,
textarea,
input,
option,
th,
td {
padding: 0;
}
table {
border-collapse: collapse;
}
li {
list-style-type: none;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
menu,
nav,
section {
display: block;
}
.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.clearfix {
*zoom: 1;
}
.clear {
clear: both;
height: 0;
overflow: hidden;
}
a {
text-decoration: none;
color: #333;
}
a,
textarea,
input,
select {
outline: none;
}
textarea {
overflow: auto;
resize: none;
}
.img img {
display: block;
}
a img {
border: none;
}
//.z-index {
// position: fixed;
// _position: absolute;
// z-index: 999;
// display: none;
// overflow: hidden;
//}
.pr {
position: relative;
}
.pa {
position: absolute;
}
.fl {
float: left;
}
.fr {
float: right;
}
a:hover {
text-decoration: underline;
}
.m {
margin: 0 auto;
width: 1200px;
padding: 0 40px;
}
.mt {
margin-top: 15px;
}
.hide {
display: none;
}
.show {
display: block;
}
/**
去ie10 小X
*/
::-ms-clear {
display: none;
}
::-ms-reveal {
display: none;
}
/**
placeholder color更改
*/
::-webkit-input-placeholder {
/* WebKit browsers */
color: #ccc;
}
:-moz-placeholder {
/* Mozilla Firefox 4 to 18 */
color: #ccc;
}
::-moz-placeholder {
/* Mozilla Firefox 19+ */
color: #ccc;
}
:-ms-input-placeholder {
/* Internet Explorer 10+ */
color: #ccc;
}
[v-cloak] {
display: none;
}
Css Pc端默认样式(适用于大部分项目开发)
最新推荐文章于 2024-07-20 16:31:54 发布