在index.html中

<style>
@media all and (min-width: 0px) {
html{font-size: 20px;}/* 12*4.6 */
}
@media all and (min-width: 640px) {
html{font-size: 50px;}/* 14*4.6 */
}
@media all and (min-width: 768px) {
html{font-size: 53px;}/* 16*4.2 */
}
@media all and (min-width: 800px) {
html{font-size: 53px;}/* 16*4.2 */
}
@media all and (min-width: 1024px) {
html{font-size: 65px;}/* 18 *4.6*/
}
@media all and (min-width: 1100px) {
html{font-size: 65px;}/* 20 *4.6 */
}
@media all and (min-width: 1280px) {
html{font-size: 82px;}/* 22 *3.03*/
}
@media all and (min-width: 1366px) {
html{font-size: 83px;}/* 24 */
}
@media all and (min-width: 1440px) {
html{font-size: 83px;}/* 25 */
}
@media all and (min-width: 1680px) {
html{font-size: 87px;/* 28 */
}
@media all and (min-width: 1920px) {
html{font-size:100px;}/* 33 */
}
</style>

最新文章

  1. 分布式一致性算法--Paxos
  2. Selenium 功能总结大集合
  3. Count Complete Tree Nodes || LeetCode1
  4. c规范(1)
  5. nginx https http 共用
  6. 矩阵乘法 and BIOS loads MBR into 0x7C00?
  7. oldboy第十三天学习
  8. Cocos2d-x教程第(11)讲-利用遮罩(蒙版)CCLayerColor制作新手引导界面(上)
  9. 9、手把手教你Extjs5(九)使用MVVM特性控制菜单样式
  10. Zabbix通过SNMP监控多核CPU使用率时, 计算CPU平均使用率
  11. CF#418 Div2 D. An overnight dance in discotheque
  12. 从Word Embedding到Bert模型—自然语言处理中的预训练技术发展史(转载)
  13. Redis安装及使用
  14. 杭电ACM2014--青年歌手大奖赛_评委会打分
  15. WEB前端学习代码片段记录
  16. 九、JSP入门(2)
  17. 微信小程序上拉下拉刷新
  18. hdu 4069 垃圾数独
  19. Codeforces Beta Round #31 (Div. 2, Codeforces format)
  20. AJAX通过HTML请求C#一般处理程序

热门文章

  1. Weblogic CVE-2018-2894 漏洞复现
  2. Spring和junit测试之配置文件路径
  3. React Native(十一)&mdash;&mdash;删除事件以及刷新列表
  4. 《转》win7 安装ujson 出现的“error: Microsoft Visual C++ 9.0 is required. Get it from http://aka.ms/vcpython27”
  5. Windows 系统提示“内存不足”的原因及解决方法
  6. 【linux】nginx options 跨域问题 请求HTTP错误405 用于访问该页的HTTP动作未被许可 Method Not Allowed
  7. nginx(二)----ubuntu14.04下启动或重启和关闭nginx
  8. Linux下重启mysql的时候出现 start: Job failed to start
  9. Web Service Client使用Microsoft WSE 2.0
  10. Mysql On Mac OS: Remove &amp; Install