版权声明:欢迎阅读,有误请指正,转载请申明。 https://blog.csdn.net/wx1995sss/article/details/87259024
@charset 'utf-8';
body {
color: #000;
background: #FFF;
font-family: 'Microsoft YaHei', sans-serif, Arial;
}
html,
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
button,
textarea,
p,
blockquote,
th,
td,
strong {
padding: 0;
margin: 0;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
img {
border: 0;
}
a {
text-decoration: none;
color: inherit;
outline: none;
}
a:hover {
text-decoration: none;
}
var,
em,
strong {
font-style: normal;
}
em,
strong,
th,
var {
font-style: inherit;
font-weight: inherit;
}
li {
list-style: none;
}
caption,
th {
text-align: left;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-size: 100%;
font-weight: normal;
}
input,
button,
textarea,
select,
optgroup,
option {
font-family: inherit;
font-size: inherit;
font-style: inherit;
font-weight: inherit;
}
input,
button,
textarea,
select {
*font-size: 100%;
}
dd {
margin-inline-start: 0px;
}
.clearfix:after {
content: "";
clear: both;
display: block;
height: 0px;
visibility: hidden;
}
.clearfix {
*zoom: 1;
}
.centered{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
-ms-transform:translate(-50%, -50%); /* IE 9 */
-moz-transform:translate(-50%, -50%); /* Firefox */
-webkit-transform:translate(-50%, -50%); /* Safari 和 Chrome */
-o-transform:translate(-50%, -50%); /* Opera */
}
.omit {
overflow: hidden;
text-overflow:ellipsis;
white-space: nowrap;
}
.multi {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
/*-webkit-line-clamp: 3;此行在css中设置*/
}
.mirror {
transform: scaleX(-1);
-ms-transform:scaleX(-1); /* IE 9 */
-moz-transform:scaleX(-1); /* Firefox */
-webkit-transform:scaleX(-1); /* Safari 和 Chrome */
-o-transform:scaleX(-1); /* Opera */
filter: FlipH;
}