zoukankan      html  css  js  c++  java
  • 响应式布局中重要的meta标签设置.适用于手机浏览器兼容性设置

    <!-- #手机浏览器兼容性设置 -->
       <meta content="application/xhtml+xml;charset=UTF-8" http-equiv="Content-Type">
       <meta content="no-cache,must-revalidate" http-equiv="Cache-Control">
       <meta content="no-cache" http-equiv="pragma">
       <meta content="0" http-equiv="expires">
       <meta content="telephone=no, address=no" name="format-detection">
       <meta content="width=device-width, initial-scale=1.0" name="viewport">
       <meta name="apple-mobile-web-app-capable" content="yes" />
       <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
       <!-- #手机浏览器兼容性设置 -->


    粘贴到顶部后和原来的meta标签对齐.
    可以实现响应式布局.


  • 相关阅读:
    jquery 插件扩展2
    jquery 插件扩展
    call apply bind
    bom object
    js oop 封装
    js oop 继承
    js页面之间传参2
    js弹出新窗口的6中方法
    display Tag
    js中extends方法
  • 原文地址:https://www.cnblogs.com/benbenfishfish/p/5183147.html
Copyright © 2011-2022 走看看