zoukankan      html  css  js  c++  java
  • 移动端页面头部定义

    我们在开发移动端页面的时候经常会遇到一些通用的需求,往往是,不支持缩放,苹果浏览器隐藏工具栏啊等等。我们总结一下:

     1 <head>
     2   <meta charset="utf-8">
     3   <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
     4   <title>项目名称</title>
     5   <meta name="description" content=""/>
     6   <meta name="viewport" content="minimal-ui, initial-scale=1, width=device-width, maximum-scale=1, minimum-scale=1, user-scalable=no">
     7   <meta name="apple-mobile-web-app-capable" content="yes">
     8   <meta name='apple-touch-fullscreen' content='yes'>
     9   <meta name="full-screen" content="yes">
    10   <meta name="apple-mobile-web-app-status-bar-style" content="black">
    11   <meta name="format-detection" content="telephone=no">
    12   <meta name="format-detection" content="address=no">
    13   <meta name="keywords" content=""/>
    14   <link rel="stylesheet" href="./css/reset.css"/>
    15   
    17   <link rel="stylesheet" href="./css/index.css"/>
    18 </head>
  • 相关阅读:
    jQuery选择器
    jquery处理json笔记
    观察者模式
    shiro自定义realm
    AysncTask更新progressbar
    android自定义控件
    任务的挂起和激活
    main方法添加2个集合存储图形
    矩形类-内部类刷新
    圆类-内部类多线程刷新
  • 原文地址:https://www.cnblogs.com/webARM/p/4162594.html
Copyright © 2011-2022 走看看