移动端应用 专用 新手必看
生活随笔
收集整理的這篇文章主要介紹了
移动端应用 专用 新手必看
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"><meta charset="UTF-8"><!--避免IE使用兼容模式--><meta http-equiv="X-UA-Compatible" content="IE=edge" /><!--優先使用 IE 最新版本和 Chrome:--><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><!--WebApp全屏模式 隱藏地址欄。--><meta name="apple-mobile-web-app-capable" content="yes" /><!--禁止百度轉碼顯示。--><meta http-equiv="Cache-Control" content="no-siteapp"><!--忽略頁面中的數字識別為電話,忽略email識別:--><meta name="format-detection" content="telphone=no, email=no" /><title>title</title><link rel="stylesheet" href="reset.css"><!--設置rem--><script type="text/javascript">(function(doc, win) {var docEl = doc.documentElement,// orientationchange 事件是在用戶水平或者垂直翻轉設備(即方向發生變化)時觸發的事件。// onresize 事件會在窗口或框架被調整大小時發生。resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',recalc = function() {window.clientWidth = docEl.clientWidth;if (!window.clientWidth) return;docEl.style.fontSize = 50 * (window.clientWidth / 375) + 'px';window.base = 50 * (window.clientWidth / 375);};if (!doc.addEventListener) return;win.addEventListener(resizeEvt, recalc, false);doc.addEventListener('DOMContentLoaded', recalc, false);})(document, window);</script>
總結
以上是生活随笔為你收集整理的移动端应用 专用 新手必看的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Net::OICQ 还可以登录qq
- 下一篇: 计划任务以及日志管理