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

Chapter 1. Introducing PostCSS

A key part of any website is styling—it doesn't matter if this is for a simple element tag or a complex animation; a website is not a website without color and action. Building styles for any online presence takes time and effort—we can reduce development time by using a preprocessor to automate the creation of styles, automatically apply vendor prefixes and the like, but the extra dependency of a library can be like using a sledgehammer to crack a nut!

Enter PostCSS—its unique modular style allows us to create a leaner, faster CSS processor, with no external dependencies. In this chapter, we look at installing PostCSS, understanding its architecture, and learn how to use its speed and power to compile code into valid CSS. We will cover a number of topics throughout this chapter, which will include the following:

  • Considering the benefits of creating our own preprocessor
  • Introducing PostCSS and exploring its features
  • Setting up a development environment using PostCSS
  • Creating a simple example using PostCSS
  • Exploring how PostCSS works and its architecture

Let's make a start…!

Note

All of the exercises in this book are written for the Windows platform; please adjust accordingly if you use a different operating system.

主站蜘蛛池模板: 慈溪市| 广西| 青海省| 长丰县| 乐平市| 汤原县| 女性| 塔城市| 旬阳县| 开阳县| 东至县| 渭南市| 新乡市| 黔西| 巫山县| 安远县| 银川市| 县级市| 抚松县| 汝州市| 平陆县| 彝良县| 乌拉特后旗| 柞水县| 泰兴市| 大竹县| 报价| 泗水县| 宾川县| 盐池县| 红桥区| 安庆市| 郑州市| 邵阳县| 东丰县| 无为县| 安徽省| 寻甸| 垫江县| 乐平市| 巴彦淖尔市|