html {
-webkit-text-size-adjust: 100%;
height: 100%;
-webkit-user-select: none;
overflow-x: hidden;
}
html,
body,
div,
ul,
li,
p,
h1,
h2,
h3,
h4,
h5,
figure,
figcaption {
margin: 0;
padding: 0;
border: 0;
font-weight: normal
}
* {
margin: 0;
padding: 0;
border: 0;
}
li {
list-style: none;
}
a {
text-decoration: none;
}
body {
font-family: "微软雅黑", "Microsoft Yahei";
position: relative;
color: #000;
text-align: left;
-webkit-font-smoothing: antialiased;
height: 100%;
}
#app{
height: 100%;
}
input {
outline: none;
}
.clear {
clear: both;
}
.clearfix:after {
display: block;
clear: both;
content: '';
visibility: hidden;
height: 0;
}
.f_left {
float: left;
}
.f_right {
float: right;
}
.g_bottom {
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
}
.van-popup {
overflow: visible;
}
@media screen and (max-width: 320px) {
body {
font-size: 12px;
}
}
@media screen and (min-width: 321px) and (max-width: 413px) {
body {
font-size: 12px;
}
}
@media screen and (min-width: 414px) and (max-width: 639px) {
body {
font-size: 17px;
}
}
@media screen and (min-width: 640px) {
body {
font-size: 18px;
}
}
/*@supports (bottom: constant(safe-area-inset-bottom)) {
body {
margin-bottom: constant(safe-area-inset-bottom);
margin-bottom: env(safe-area-inset-bottom);
}
}*/