zoukankan      html  css  js  c++  java
  • CSS: iPhone Custom CSS

    1. [代码][CSS]代码     

    <style type="text/css" media="screen">
     
    /* iPhone 4
    @media only screen and (-webkit-min-device-pixel-ratio:2){
    #innerWrap{ 650px; }
    #container{ inherit; }
    }
     
    @media all and (max-device- 480px){
    #innerWrap{ 650px; }
    #container{ inherit; }
    }http://www.huiyi8.com/lunwenppt/

    @media screen and (orientation:portrait) and (min-device- 768px) and (max-device- 1024px){

    #innerWrap{ 1024px; border: 0px solid yellow; }
    #container{ 650px; border: 0px solid violet; }
    }​毕业设计答辩ppt
    @media screen and (orientation:landscape) and (min-device- 768px) and (max-device- 1024px){
    #innerWrap{ 1024px; border: 0px solid yellow; }
    #container{ 650px; border: 0px solid violet; }
    }
    */
     
    </style>
    <!-- Portrait -->
    <link media="only screen and (max- 320px)" rel="stylesheet" type="text/css" href="http://kuscinteractive.org/css/nowplaying/iphone_portrait.css"/>
    <link rel="stylesheet" media="all and (orientation:portrait)" type="text/css" href="http://kuscinteractive.org/css/nowplaying/portrait.css">
     
    <!-- Landscape -->
    <link media="only screen and (min- 321px)" rel="stylesheet" type="text/css" href="http://kuscinteractive.org/css/nowplaying/iphone_landscape.css"/>
    <link media="all and (orientation:landscape)" rel="stylesheet" type="text/css" href="http://kuscinteractive.org/css/nowplaying/landscape.css">
     
    <!-- iPhone Retina Display -->
    <link media="only screen and (-webkit-min-device-pixel-ratio: 2)" rel="stylesheet" type="text/css" href="http://kuscinteractive.org/css/nowplaying/retina.css" />

  • 相关阅读:
    Community Server(CS)是一个非常优秀的Asp.net开源软件
    乐在其中设计模式(C#)
    VSTO+WinForm+WebService+WCF+WPF示例
    系出名门 Android 系列文章索引
    DataTable 和List 相互转换
    C#异步TCP通讯类库FlyTcpFramework
    WCF+BizTalk开发系列
    精通MVC 3 框架
    我对架构的理解
    DataTable转换成IList
  • 原文地址:https://www.cnblogs.com/xkzy/p/4087425.html
Copyright © 2011-2022 走看看