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

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.

主站蜘蛛池模板: 中阳县| 津市市| 斗六市| 榆社县| 长顺县| 龙岩市| 邢台市| 柘荣县| 巴彦淖尔市| 屏东县| 江永县| 依安县| 天门市| 长武县| 湖北省| 柞水县| 长春市| 屯昌县| 松桃| 三门峡市| 丽江市| 白沙| 汉沽区| 永善县| 凌源市| 上犹县| 民权县| 大悟县| 日照市| 韶关市| 常宁市| 万盛区| 兴宁市| 宁国市| 六安市| 青神县| 麻城市| 安岳县| 惠安县| 扬州市| 手游|