base.scss
*,
*:before,
*:after {
animation: all 0.3s cubic-bezier(0.4, 0.8, 0.4, 1);
transition: all 0.3s cubic-bezier(0.4, 0.8, 0.4, 1);
}
html,
body,
a * {
animation: all 0s cubic-bezier(0.4, 0.8, 0.4, 1);
transition: all 0s cubic-bezier(0.4, 0.8, 0.4, 1);
}
* {
position: relative;
box-sizing: border-box;
margin: 0;
padding: 0;
}
.clear {
overflow: auto;
}
.clear::before {
content: "";
display: block;
height: 0;
clear: both;
}
a {
cursor: pointer;
&:link {
text-decoration: none;
}
&:visited {
text-decoration: none;
}
&:hover {
text-decoration: none;
}
&:active {
text-decoration: none;
}
}
ul,
ol,
a {
list-style: none;
}
em,
i,
u {
font-style: normal;
}
*,
body,
button,
input,
select,
textarea,
div,
nav,
section {
color: #333333;
font: 14px;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
overflow: -Scroll;
font-family: "Microsoft YaHei", 微软雅黑, "MicrosoftJhengHei", 华文细黑, STHeiti, MingLiu;
}
.display-flex {
display: flex;
}
textarea {
resize: none !important;
}
body {
position: relative;
min-width: 1200px;
margin: 0 auto;
box-shadow: none;
background: #fff;
}
@media screen and (max-width: 750px) {
body {
min-width: auto;
}
}