Premium Only Content
PostCSS Crash Course
PostCSS is a Javascript tool used to transform your project's CSS. In this crash course, I'll talk you through the basics, compare PostCSS to Sass, and then we'll code together on two projects: the first project will show you what functionality PostCSS offers you as a pre-processor, so a Sass replacement. The second project will show you how you can use PostCSS to prepare your production CSS.
My website
https://www.pixelrocket.store
My Sass Crash Course
https://www.youtube.com/watch?v=BEdCOvJ5RY4
My PostCSS Playlist
https://www.youtube.com/playlist?list=PLCvPStjGyw0d9nlB4uI25m_REpYSMAKnR
Course Resources (You'll need this if you want to code along):
https://www.dropbox.com/s/2sefet1n884bea7/postcss-resources.zip?dl=0
Plugins Used:
PostCSS plugin
https://github.com/postcss/postcss
PostCSS CLI plugin
https://github.com/postcss/postcss-cli
PostCSS import
https://github.com/postcss/postcss-import
PostCSS partials
https://www.npmjs.com/package/postcss-partial-import
PostCSS @for
https://github.com/antyakushev/postcss-for
PostCSS @each
https://github.com/madyankin/postcss-each
PostCSS at rules vars
https://github.com/Scrum/postcss-at-rules-variables
PostCSS each variables mapping
https://github.com/awcross/postcss-each-variables
PostCSS nested
https://github.com/postcss/postcss-nested
PostCSS custom media queries
https://github.com/csstools/postcss-custom-media
PostCSS Gulp
https://github.com/postcss/gulp-postcss
PostCSS PurgeCSS
https://purgecss.com/plugins/postcss.html
PostCSS CSSNano
https://github.com/cssnano/cssnano
Timestamps
0:00 Intro
0:40 Course resources & requirements
1:25 What is PostCSS
2:40 Project one setup
3:45 Install PostCSS & PostCSS CLI
10:15 Setup NPM PostCSS command
15:50 Setup import & partials
30:19 Refactor component using PostCSS
38:45 Refactory utility using PostCSS
44:30 Refactor media queries using PostCSS
47:00 Project two setup
48:45 Add PostCSS to Gulp
50:07 Install PurgeCSS & CSSNano plugins
-
1:14:28
Michael Franzese
14 hours agoThe Hidden Cause of LA's Deadliest Fires in 2025?
45.2K92 -
3:59:45
Bitcoin Sports Network
7 hours agoMax & Stacy Invitational Day 2 Part 1 - LIVE from El Salvador
93.5K10 -
1:34:30
The Criminal Connection Podcast
5 days ago $1.93 earnedEL PACO: Gypsy Family Wars, Bare Knuckle Boxing, Assassinations and Spirits!
37.3K3 -
51:43
Brewzle
1 day agoI Found Some AWESOME Stores Bourbon Hunting in Des Moines, IA
35.2K2 -
1:16:54
Kyle Rittenhouse Presents: Tactically Inappropriate
1 day ago $2.52 earnedReplacing Matt Gaetz Pt. 2
20.3K12 -
16:08
inspirePlay
1 day ago $0.70 earnedCan You Sniff Out the Golf Imposters Before They Wreck the Score?
16.9K3 -
22:57
RTT: Guns & Gear
21 hours ago $4.52 earnedPSA Dagger vs. Bear Creek Arsenal BC-102 | The Better Pistol For The Poors
42.7K10 -
8:28
MichaelBisping
8 hours agoBISPING: "Islam WILL RETIRE after UFC 311!?" | Makhachev Wants Belal or Shavkat at WELTERWEIGHT
24.8K4 -
1:13:55
Eye of the STORM
4 months agoEye of the STORM Podcast S2 E3 08/19/24 with Sam Anthony
18.3K1 -
1:04:22
PMG
5 hours ago $0.42 earned"Your Marriage Can Be Saved with Art Thomas"
14.6K2