官术网_书友最值得收藏!

You can use media queries today

Media queries are already widely used and enjoy a broad level of browser support (Firefox 3.6+, Safari 4+, Chrome 4+, Opera 9.5+, iOS Safari 3.2+, Opera Mobile 10+, Android 2.1+, and Internet Explorer 9+). Furthermore, there are easy to implement (albeit JavaScript based) fixes for common aged browsers such as Internet Explorer versions 6, 7, and 8. If you need to grab the fixes for Internet Explorer versions 6, 7, and 8 now, you'll need to look at Chapter 9, Solving Cross-browser Responsive Challenges. In short, there's no good reason why we can't get using media queries today!

Note

Specifications at the W3C go through a ratification process (if you have a spare day, knock yourself out with the official explanation of the process at http://www.w3.org/2005/10/Process-20051014/tr), from Working Draft (WD ), to Candidate Recommendation (CR ), to Proposed Recommendation (PR ) before finally arriving, many years later, at W3C Recommendation (REC ). So modules at a greater maturity level than others are generally safer to use. For example, CSS Transforms Module Level 3 (http://www.w3.org/TR/css3-3d-transforms/) has been at WD status since March 2009 and browser support for it is far scanter than CR modules such as media queries.

主站蜘蛛池模板: 江西省| 北川| 东辽县| 磐石市| 高密市| 舒城县| 临澧县| 远安县| 兴化市| 静乐县| 阳城县| 怀柔区| 库车县| 南华县| 濮阳县| 云霄县| 霍林郭勒市| 巴彦县| 文化| 曲麻莱县| 建水县| 平阴县| 昌平区| 庐江县| 天峻县| 禹州市| 云和县| 甘孜| 鹤山市| 清徐县| 高安市| 香港| 汾西县| 南木林县| 鹤壁市| 洞头县| 揭阳市| 邢台市| 孟州市| 济源市| 奉节县|