html {
font-size: 24px!important; }
@media screen and (min-width: 360px) {
html {
font-size: 24px!important; } }
@media screen and (min-width: 375px) {
html {
font-size: 25px!important; } }
@media screen and (min-width: 384px) {
html {
font-size: 25.6px!important; } }
@media screen and (min-width: 400px) {
html {
font-size: 26.666666666666668px!important; } }
@media screen and (min-width: 414px) {
html {
font-size: 27.6px!important; } }
@media screen and (min-width: 424px) {
html {
font-size: 28.266666666666667px!important; } }
@media screen and (min-width: 480px) {
html {
font-size: 32px!important; } }
@media screen and (min-width: 540px) {
html {
font-size: 36px!important; } }
@media screen and (min-width: 720px) {
html {
font-size: 48px!important; } }
@media screen and (min-width: 750px) {
html {
font-size: 50px!important; } }
移动开发字体大小配置
最新推荐文章于 2023-09-14 22:31:12 发布