media适配css
生活随笔
收集整理的這篇文章主要介紹了
media适配css
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
/*引入適配的less*/
html {font-size: 16px;
}
@media only screen and (min-width: 320px) {html {font-size: 13.6533px !important;}
}
@media only screen and (min-width: 360px) {html {font-size: 15.36px !important;}
}
@media only screen and (min-width: 375px) {html {font-size: 16px !important;}
}
@media only screen and (min-width: 400px) {html {font-size: 17.0667px !important;}
}
@media only screen and (min-width: 414px) {html {font-size: 17.664px !important;}
}
@media only screen and (min-width: 480px) {html {font-size: 20.48px !important;}
}
@media only screen and (min-width: 750px) {html {font-size: 32px !important;}
}
?
轉載于:https://www.cnblogs.com/hanxuming/p/9268782.html
總結
以上是生活随笔為你收集整理的media适配css的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: XE Delphi 判断字符为中文的方法
- 下一篇: springMVC接收前端参数的方式