• 移动开发 新建空白页面


    移动端重构系列
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, minimal-ui" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection"content="telephone=no, email=no" />
    
    <meta name="apple-mobile-web-app-capable" content="yes" />
    
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    
    <meta name="format-detection" content="telphone=no, email=no" />
    
    <link rel="apple-touch-icon" href="touch-icon-iphone.png"> 
    <link rel="apple-touch-icon" sizes="76x76" href="touch-icon-ipad.png"> 
    <link rel="apple-touch-icon" sizes="120x120" href="touch-icon-iphone-retina.png"> 
    <link rel="apple-touch-icon" sizes="152x152" href="touch-icon-ipad-retina.png">
    
    <link rel="apple-touch-startup-image" href="/startup.png">
    
    // iPhone 
    <link href="apple-touch-startup-image-320x460.png" media="(device- 320px)" rel="apple-touch-startup-image" />// iPhone Retina 
    <link href="apple-touch-startup-image-640x920.png" media="(device- 320px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" /> 
     // iPhone 5 
    <link rel="apple-touch-startup-image" media="(device- 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)" href="apple-touch-startup-image-640x1096.png"> 
     // iPad portrait 
    <link href="apple-touch-startup-image-768x1004.png" media="(device- 768px) and (orientation: portrait)" rel="apple-touch-startup-image" /> 
     // iPad landscape 
    <link href="apple-touch-startup-image-748x1024.png" media="(device- 768px) and (orientation: landscape)" rel="apple-touch-startup-image" /> 
     // iPad Retina portrait 
    <link href="apple-touch-startup-image-1536x2008.png" media="(device- 1536px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" /> 
     // iPad Retina landscape 
    <link href="apple-touch-startup-image-1496x2048.png"media="(device- 1536px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2)"rel="apple-touch-startup-image" />
    
    
    <!-- 启用360浏览器的极速模式(webkit) -->
    <meta name="renderer" content="webkit"> 
    <!-- 避免IE使用兼容模式 --> 
    <meta http-equiv="X-UA-Compatible" content="IE=edge"> 
    <!-- 针对手持设备优化,主要是针对一些老的不识别viewport的浏览器,比如黑莓 --> 
    <meta name="HandheldFriendly" content="true"> 
    <!-- 微软的老式浏览器 --> 
    <meta name="MobileOptimized" content="320"> 
    <!-- uc强制竖屏 --> 
    <meta name="screen-orientation" content="portrait"> 
    <!-- QQ强制竖屏 --> 
    <meta name="x5-orientation" content="portrait"> 
    <!-- UC强制全屏 --> 
    <meta name="full-screen" content="yes"> 
    <!-- QQ强制全屏 --> 
    <meta name="x5-fullscreen" content="true"> 
    <!-- UC应用模式 --> 
    <meta name="browsermode" content="application"> 
    <!-- QQ应用模式 --> 
    <meta name="x5-page-mode" content="app"> 
    <!-- windows phone 点击无高光 --> 
    <meta name="msapplication-tap-highlight" content="no">
  • 相关阅读:
    【BZOJ 2844】: albus就是要第一个出场
    BZOJ 2631: tree
    BZOJ1798: [Ahoi2009]Seq 维护序列seq
    Link-Cut Tree指针模板
    bzoj 4916: 神犇和蒟蒻 (杜教筛+莫比乌斯反演)
    【BZOJ 3561】 DZY Loves Math VI
    linux 安装php7.2 以及配置laravel环境(public目录下)
    composer 配置 切换中国镜像
    phpstorm composer 提示php 版本过低的问题调整
    如何在阿里云的虚机 部署laravel项目
  • 原文地址:https://www.cnblogs.com/zsk526/p/4389317.html
Copyright © 2020-2023  润新知