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

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…!

主站蜘蛛池模板: 出国| 宜宾县| 买车| 东山县| 富阳市| 延津县| 宁安市| 丰原市| 阿瓦提县| 独山县| 全州县| 通化县| 钟山县| 金秀| 定安县| 镇赉县| 邯郸市| 马关县| 鄂托克前旗| 黑龙江省| 南皮县| 浦北县| 元氏县| 阜宁县| 洪江市| 紫云| 怀宁县| 枣强县| 锡林郭勒盟| 焦作市| 新化县| 襄城县| 宁化县| 色达县| 镇康县| 广汉市| 靖西县| 鹿邑县| 新密市| 随州市| 竹溪县|