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

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

主站蜘蛛池模板: 余庆县| 五寨县| 鹰潭市| 平乐县| 涿州市| 仁布县| 东莞市| 观塘区| 宿松县| 开封县| 仙居县| 慈利县| 长沙县| 滨州市| 临沭县| 乐平市| 郓城县| 昌邑市| 简阳市| 沁源县| 凤阳县| 桓台县| 中牟县| 漠河县| 邳州市| 南川市| 淮滨县| 兴隆县| 卓尼县| 浠水县| 鄂托克旗| 黄骅市| 双桥区| 济南市| 乐平市| 太原市| 嵩明县| 湘阴县| 新邵县| 武川县| 如东县|