- Responsive Web Design with HTML5 and CSS3
- Ben Frain
- 203字
- 2021-08-06 20:03:41
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.
- 一步一步學(xué)Spring Boot 2:微服務(wù)項目實戰(zhàn)
- 自己動手寫搜索引擎
- JavaScript全程指南
- Kibana Essentials
- 工程軟件開發(fā)技術(shù)基礎(chǔ)
- C++面向?qū)ο蟪绦蛟O(shè)計(微課版)
- Java高手真經(jīng)(高級編程卷):Java Web高級開發(fā)技術(shù)
- 從程序員到架構(gòu)師:大數(shù)據(jù)量、緩存、高并發(fā)、微服務(wù)、多團(tuán)隊協(xié)同等核心場景實戰(zhàn)
- C語言從入門到精通(第4版)
- 利用Python進(jìn)行數(shù)據(jù)分析(原書第3版)
- Visual Basic程序設(shè)計
- Kotlin開發(fā)教程(全2冊)
- Go語言底層原理剖析
- 程序員的成長課
- DB2SQL性能調(diào)優(yōu)秘笈