app适配js
来源:互联网 发布:sql字符串截取 汉字 编辑:程序博客网 时间:2024/06/04 23:32
function resetFont() {var HTML = document.getElementsByTagName('html')[0];var deviceWidth = document.documentElement.clientWidth; //获取设备宽度var scale = deviceWidth / 750; //750是psd设计图宽度HTML.style.fontSize = 100 * scale + 'px';}resetFont();window.onresize = function() {resetFont();}
阅读全文
0 0
- app适配js
- app.js
- app.js
- App.js
- app.js
- app.js 学习笔记
- app.js剖析
- JS和app交互
- UIWebView --app 调用 js
- ionic-app.js分析
- JS打开APP
- nodejs app.js详解
- Learning D3.js with App
- nodejs 批处理执行 app.js
- Extjs5 app.js缓冲设置
- app里边调用js方法
- Hybrid APP --- OC,JS 混编
- 原生APP与js交互
- codeforce898E Squares and not squares (round #451 div 2)
- HNOI2017 spaly题解
- SSM+R之MyBatis基础问答
- 第26章 编写应用程序交叉编译
- Mybatis_HelloWord
- app适配js
- Java注解介绍
- Python+pandas实现时间序列数据扩展案例一则
- AutoCAD .Net 创建点Point
- 从今天开始,每天花1小时学习Python,附电子书
- RocketMq命令
- AutoCAD .Net 创建填充Hatch
- Spring-framework-core-1.3
- jquey.extend深拷贝