码迷,mamicode.com
首页 > 其他好文 > 详细

视图适配

时间:2016-03-26 22:14:23      阅读:227      评论:0      收藏:0      [点我收藏+]

标签:

@media only screen and (max-width:320px){.lincoapp-home-slideImage a{min-height:165px}
}
@media only screen and (min-width:321px) and (max-width:360px){.lincoapp-home-slideImage a{min-height:185px}
}
@media only screen and (min-width:361px) and (max-width:375px){.lincoapp-home-slideImage a{min-height:193px}
}
@media only screen and (min-width:376px) and (max-width:384px){.lincoapp-home-slideImage a{min-height:198px}
}
@media only screen and (min-width:385px) and (max-width:393px){.lincoapp-home-slideImage a{min-height:203px}
}
@media only screen and (min-width:394px) and (max-width:400px){.lincoapp-home-slideImage a{min-height:206px}
}
@media only screen and (min-width:401px){.lincoapp-home-slideImage a{min-height:213px}
}



@media screen and (min-width: 1025px){
body {
font-family: "Helvetica Neue",Helvetica,"Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;
}
}
@media screen and (min-width: 1024px){
body {
background-color: #fff;
}
}

@media (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 667px) and (min-device-width: 375px) {
.mm_appmsg .rich_media_meta, .mm_appmsg .rich_media_inner {
font-size: 17px;
}
}

@media (-webkit-min-device-pixel-ratio: 3) and (max-device-width: 736px) and (min-device-width: 414px) {
.mm_appmsg .rich_media_title {
font-size: 25px;
}
}

 

视图适配

标签:

原文地址:http://www.cnblogs.com/y896926473/p/5324131.html

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