iPhone6&iPhone6 Plus CSS3 Media Queries
2016-03-24 00:00
423 查看
CSS3 Media Queries查询
iPhone6&iPhone6 Plus CSS3 Media Queries
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (orientation : portrait) { /*iPhone 6 Portrait*/ } @media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (orientation : landscape) { /*iPhone 6 landscape*/ } @media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (orientation : portrait) { /*iPhone 6+ Portrait*/ } @media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (orientation : landscape) { /*iPhone 6+ landscape*/ } @media only screen and (max-device-width: 640px), only screen and (max-device-width: 667px), only screen and (max-width: 480px){ /*iPhone 6 and iPhone 6+ portrait and landscape*/ } @media only screen and (max-device-width: 640px), only screen and (max-device-width: 667px), only screen and (max-width: 480px) and (orientation : portrait){ /*iPhone 6 and iPhone 6+ portrait*/ } @media only screen and (max-device-width: 640px), only screen and (max-device-width: 667px), only screen and (max-width: 480px) and (orientation : landscape){ /*iPhone 6 and iPhone 6+ landscape*/ }
http://nmsdvid.com/snippets/
相关文章推荐
- Patchwork & Quilting(拼布和绗缝)
- What is Bluetooth Profile[待翻译]
- Qt在线技术交流之OpenGL、Quick以及所经历项目开发心得分享
- Location Services and Maps Programming Guide 纪录
- UESTC 1144 Big Brother
- HDU5288 OO’s Sequence 二分
- Quartz学习笔记(五) quartz扩展druid连接池
- leetcode_063 Unique Paths II
- UICollectionView
- iOS--UITableView 显示二级菜单
- leetcode_062 Unique Paths
- iOS之UIAlertView的使用
- UIBezierPath精讲
- UITableViewCell的使用介绍
- iOS UITextField的基本用法
- 封装简单的equery
- 有了Auto Layout,为什么你还是害怕写UITabelView的自适应布局?
- 修改UIBarButtonItem字体大小、颜色等相关属性
- 关于在自定义的导航栏中使用UIImagePickerViewControlle
- Number Sequence (KMP算法)