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> 
原文地址:https://www.cnblogs.com/snowinmay/p/2869707.html