码迷,mamicode.com
首页 > Web开发 > 详细

CSS: iPhone Custom CSS

时间:2014-11-10 17:42:20      阅读:124      评论:0      收藏:0      [点我收藏+]

标签:style   http   io   ar   sp   div   on   cti   代码   

1. [代码][CSS]代码     

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

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

#innerWrap{ width: 1024px; border: 0px solid yellow; }
#container{ width: 650px; border: 0px solid violet; }
}?毕业设计答辩ppt
@media screen and (orientation:landscape) and (min-device-width: 768px) and (max-device-width: 1024px){
#innerWrap{ width: 1024px; border: 0px solid yellow; }
#container{ width: 650px; border: 0px solid violet; }
}
*/
 
</style>
<!-- Portrait -->
<link media="only screen and (max-width: 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-width: 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" />

CSS: iPhone Custom CSS

标签:style   http   io   ar   sp   div   on   cti   代码   

原文地址:http://www.cnblogs.com/xkzy/p/4087425.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!