zoukankan      html  css  js  c++  java
  • webkit webApp中的link

      1. <link rel=”apple-touch-startup-image” href=”startup.png” /> // 设置开始页面图片
      2. <link rel=”apple-touch-icon” href=”iphon_tetris_icon.png”/> // 在设置书签的时候可以显示好看的图标
      3. <link rel="stylesheet" media="all and (orientation:portrait)" href="portrait.css">    // 肖像模式样式      
      4. <link rel="stylesheet" media="all and (orientation:landscape)" href="landscape.css"   // 风景模式样式

      5. //竖屏时使用的样式
      6. <style media="all and (orientation:portrait)" type="text/css">
      7. #landscape { display: none; }
      8. </style>

      9. //横屏时使用的样式
      10. <style media="all and (orientation:landscape)" type="text/css">
      11. #portrait { display: none; }
      12. </style> 
  • 相关阅读:
    开启linux服务器防火墙
    Linux系统编程11_管道和命名管道
    Lua语法
    Git学习
    Buildroot介绍
    Makefile基本介绍
    页、页表和块
    文件系统,根文件系统,MTD
    什么是ioctl
    bootargs的mtdparts解析
  • 原文地址:https://www.cnblogs.com/snowinmay/p/2869707.html
Copyright © 2011-2022 走看看