- Mastering PostCSS for Web Design
- Alex Libby
- 142字
- 2021-07-14 11:12:27
Chapter 4. Building Media Queries
The days of simply using one device to browse an online site are long since gone: responsive sites will work on a range of devices, from smart phones through to digital TVs and laptops. A key element of making sites responsive is the use of media queries. In this chapter, we'll explore how to create them using PostCSS, see how they compare to the likes of Less and SASS, and how the use of PostCSS makes for a more flexible approach in comparison to standard preprocessors. This chapter will cover the following technical topics:
- Revisiting media queries
- Working through the basics of media queries using PostCSS
- Adding responsive support
- Optimizing media queries
- Retrofitting support for older browsers
- Taking things further—exploring the hover feature in CSS4 media queries
Let's make a start…!
推薦閱讀
- Boost.Asio C++ Network Programming(Second Edition)
- Python編程自學手冊
- Podman實戰
- Learning Selenium Testing Tools(Third Edition)
- 蘋果的產品設計之道:創建優秀產品、服務和用戶體驗的七個原則
- NGINX Cookbook
- 計算機應用基礎案例教程
- SignalR:Real-time Application Development(Second Edition)
- Android Studio開發實戰:從零基礎到App上線 (移動開發叢書)
- Java Hibernate Cookbook
- Mastering Unreal Engine 4.X
- C語言開發寶典
- UI設計參考手冊
- Lucene 4 Cookbook
- iOS Application Development with OpenCV 3