摘要: "240x320","acer","acoon","acs-","abacho","ahong","airness","alcatel","amoi","android","anywhereyougo.com","applewebkit/525","applewebkit/532","asus"," 阅读全文
posted @ 2016-01-29 15:31 wbxjiayou 阅读(408) 评论(0) 推荐(0) 编辑
摘要: 网上找到的都不全,不是漏这个就是漏那个,有的甚至还把桌面的chrome判断为移动浏览器。 于是自己动手整理,这回算是比较全了。以后发现漏掉的立马加上。 if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || /Android/i.test(nav 阅读全文
posted @ 2016-01-29 15:26 wbxjiayou 阅读(3247) 评论(0) 推荐(0) 编辑
摘要: @media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (orientation : portrait) { /*iPhone 6 Portrait*/ } @media only scre 阅读全文
posted @ 2016-01-29 10:59 wbxjiayou 阅读(1884) 评论(0) 推荐(0) 编辑
摘要: mydevice.io Mobile devices, in Responsive Web Design, relate to a core value which is the value of CSS width or ("device-width"), in CSS Device Indepe 阅读全文
posted @ 2016-01-29 10:43 wbxjiayou 阅读(307) 评论(0) 推荐(0) 编辑
摘要: http://mydevice.io/devices/ 阅读全文
posted @ 2016-01-29 10:37 wbxjiayou 阅读(150) 评论(0) 推荐(0) 编辑
摘要: iPhone6分辨率与适配 分辨率和像素 经新xcode6模拟器验证(分辨率为pt,像素为真实pixel): iPhone5分辨率320x568,像素640x1136,@2x iPhone6分辨率375x667,像素750x1334,@2x iPhone6 Plus分辨率414x736,像素1242 阅读全文
posted @ 2016-01-29 10:08 wbxjiayou 阅读(267) 评论(0) 推荐(0) 编辑
摘要: 不是像素的像素不是像素 昨天 John Gruber 的文章谈到了 在即将到来的iPhone中的增强像素密度(the upped pixel density 替代480x320的 960x640分辨率),以及为什么 Apple 这么做。他也很想知道这接下来对web开发者的影响会是什么。 现在我正巧在 阅读全文
posted @ 2016-01-29 09:31 wbxjiayou 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 【译】Responsive Design常用的媒体查询 Web前端 dwqs 2015-04-27 10:58 3,100 人阅读 0评论 (PS:原文写于2012年,本文参照原文作了适当修改,不当之处请指出) 现在Web朝着响应式的趋势发展,媒体查询在创建响应式网站中起到了主要作用。 没有媒体查询 阅读全文
posted @ 2016-01-29 09:26 wbxjiayou 阅读(300) 评论(0) 推荐(0) 编辑