`
zhangyaochun
  • 浏览: 2558257 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

-webkit-min-device-pixel-ratio的常见值对照

阅读更多

 

  前言

 

    本文来自于对 http://bjango.com/articles/min-device-pixel-ratio/ 的部分整理:

 

  正文

 

  • -webkit-min-device-pixel-ratio为1.0
  1. 所有非Retina的Mac
  2. 所有非Retina的iOS设备
  3. Acer Iconia A500 
  4. Samsung Galaxy Tab 10.1
  5. Samsung Galaxy S 

 

  • -webkit-min-device-pixel-ratio为1.3
  1. Google Nexus 7

 

  • -webkit-min-device-pixel-ratio为1.5
  1. Google Nexus S 
  2. Samsung Galaxy S II 
  3. HTC Desire
  4. HTC Desire HD
  5. HTC Incredible S 
  6. HTC Velocity
  7. HTC Sensation 

 

  • -webkit-min-device-pixel-ratio为2.0
  1. iPhone 4
  2. iPhone 4S
  3. iPhone 5
  4. iPad (3rd generation)
  5. iPad 4
  6. 所有Retina displays 的MAC
  7. Google Galaxy Nexus
  8. Google Nexus 4
  9. Google Nexus 10
  10. Samsung Galaxy S III
  11. Samsung Galaxy Note II
  12. Sony Xperia S
  13. HTC One X 
分享到:
评论
1 楼 gcbeen 2014-12-14  
学习了,谢谢分享

相关推荐

    group-css-media-queries:CSS后处理

    }@media all and ( -webkit-min-device-pixel-ratio : 1.5 ) , ( min--moz-device-pixel-ratio : 1.5 ) , ( -o-min-device-pixel-ratio : 1.5 / 1 ) , ( min-device-pixel-ratio : 1.5 ) , ( min-resolution : 138 ...

    Java版水果管理系统源码-frontInterview:web前端面试经历

    (-webkit-min-device-pixel-ratio: 2) { .border { border: 0.5px solid #ccc } } @media screen and (-webkit-min-device-pixel-ratio: 3) { .border { border: 0.333333px solid #ccc } } 使用边框图片 这样的1张6...

    跨浏览器开发经验总结(二) CSS

    opera、safari、chrome识别: @media all and (min-width: 0px){…}...@media screen and (-webkit-min-device-pixel-ratio:0){…} //IE、Firefox不识别该规则 仅opera识别: @media screen and (-webkit-min-device

    css 常用片段

    浏览器特定的 hacks /* IE 6 */ ... /* IE 7 */ ... /* IE 7 and modern browsers */ ... /* Modern browsers (not IE 7) */ ... @media screen and (-webkit-min-device-pixel-ratio:0) { .yourclass { } }

    media-queries-devices:用于媒体查询的片段CSS

    ----------- iPhone 4 and 4S ----------- */ /* Portrait and Landscape */ @media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) { / Here ...

    postcss-image-set-function:在CSS中使用image-set()

    PostCSS image-set()函数 可让您按照规范在CSS中使用image-set()函数显示与分辨率...}@media ( -webkit-min-device-pixel-ratio : 2 ), ( min-resolution : 192 dpi ) { .example { background-image : url( img@2x.p

    CSS教程之通用的css hack简介

    .all-IE{property:value\9;} :root .IE-9{property:value\0/;} .gte-IE-8{property:value\0;} .lte-IE-7{*property:value;} .IE-7{+property:value;...@media all and (-webkit-min-device-pixel-ratio:0) {

    CSS Hack(Safari、Opera、Firefox3和IE7)

    仅 Safari 和 Opera 识别的 ...@media screen and (-webkit-min-device-pixel-ratio:0) {/* Safari and Opera rules here */} 注:这里所指代的 Safari 和 Opera 一般为最新版本。 2、仅 Firefox 3 和 IE7 识别的 Ha

    media-queries

    @media only screen and (-moz-min-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio:...

    兼容各种浏览器篡位的css样式写法分享

    /*针对谷歌浏览器内核支持的CSS样式*/ @media screen and (-webkit-min-device-pixel-ratio:0) { 样式 } /*针对IE6特制识别的CSS样式*/ *HTML .SearchBox { 样式 } 针对Firefox浏览器的内核CSS写法: @-moz-document...

    针对chrome的css hack 使用方法

     @media screen and (-webkit-min-device-pixel-ratio:0) { body { background-color: blue; }来进行chrome 和ff的css hack,可是我用了没有效果,最后看到一位仁兄的方法很管用,就是使用: body:nth

    为ie和chrome单独设置样式的方法

    复制代码代码如下: .closeImg{ cursor:pointer; position:absolute; right:9px; right:0px\9;//这是ie的样式 bottom... display:none } @media screen and (-webkit-min-device-pixel-ratio:0){.closeImg{right:0px;} }

Global site tag (gtag.js) - Google Analytics