Learn Generative AI, Prompt Engineering, and LLMs for Free
Learn Backend Development Part-Time, Online
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Discover how to enhance your CSS capabilities with PostCSS in this 20-minute tutorial. Explore the installation process of PostCSS and its plugins, set up a configuration file, and learn to use powerful features like cssnano and preset-env. Master techniques for watching files, customizing plugin options, and implementing custom property media queries. Gain practical insights into streamlining your CSS workflow and leveraging advanced features to create more efficient and maintainable stylesheets.
Syllabus
- Introduction
- The plugins we'll be setting up
- Installing PostCSS
- Installing our first plugin
- Adding the PostCSS config file
- Using our first plugin
- Setting up the command in our package.json
- Using the command
- Getting PostCSS to watch our files
- Installing cssnano and preset-env
- Exploring preset-env
- Setting up options for a plugin
- Custom property media queries with preset-env
Taught by
Kevin Powell