*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
*::after,
*::before {
box-sizing: border-box;
}
html,
body {
min-height: 100%;
}
body {
font-family: “Microsoft YaHei”;
font-size: 14px;
color: #333;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: normal;
}
a {
color: inherit;
text-decoration: none;
}
ol,
ul {
list-style: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
/* table-layout: fixed; */
}
input,
textarea {
outline: none;
border: none;
}
textarea {
resize: none;
overflow: auto;
}
.clearfix:after {
content: “”;
display: block;
clear: both;
}
/* .fl {
float: left
}
.fr {
float: right
}
.tl {
text-align: left;
}
.tc {
text-align: center
}
.tr {
text-align: right;
} */
.ellipse {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
我平时使用flex布局