媒体查询实例
@media screen and (min-width: 320px) {
html{
font-size: 21.33px;
}
}
@media screen and (min-width: 360px) {
html{
font-size: 24px;
}
}
@media screen and (min-width: 375px) {
html{
font-size: 25px;
}
}
@media screen and (min-width: 410px) {
html{
font-size: 27.33px;
}
}
@media screen and (min-width: 450px) {
html{
font-size: 30px;
}
}
@media screen and (min-width: 525px) {
html{
font-size: 35px;
}
}
@media screen and (min-width: 600px) {
html{
font-size: 40px;
}
}
@media screen and (min-width: 675px) {
html{
font-size: 45px;
}
}
@media screen and (min-width: 750px) {
html{
font-size: 50px;
}
}
方便我以及各位朋友调用