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
-
LIVE
Grant Stinchfield
1 hour agoRFK Jr. Speaks Out: The Pain of Assassination & the Loss of Charlie Kirk
76 watching -
1:59:33
Benny Johnson
3 hours agoKash Patel Testifying LIVE Now on Charlie Kirk Assassination, Trump to Declare Antifa TERRORISTS?!
72.5K48 -
2:07:38
Timcast
3 hours ago🚨LIVE: Kash Patel Testifies Over Charlie Kirk Assassination In Senate | Tim Pool
82.9K55 -
LIVE
Trumpet Daily
59 minutes agoTrumpet Daily LIVE | Sept. 16, 2025
498 watching -
LIVE
The Shannon Joy Show
1 hour agoTrojan Horse Trump Pushing ‘Worse Than Biden’ Speech Control Using Kirk Killing. Guest Brett Miller
227 watching -
1:01:35
VINCE
4 hours agoThe Left's 'Malignant' Violence Problem | Episode 126 - 09/16/25
225K117 -
LIVE
LFA TV
6 hours agoLFA TV ALL DAY STREAM - TUESDAY 9/16/25
4,275 watching -
1:45:59
Dear America
4 hours agoKiller ADMITS To Killing Charlie In DISCORD. Terror Cell EXPOSED! + JD Fills In on Charlie’s Show!
162K89 -
2:59:28
Wendy Bell Radio
8 hours agoThe Left Lives In A Bubble
72K141 -
LIVE
Barry Cunningham
3 hours agoLIVE BREAKING NEWS: KASH PATEL HEARING!
1,586 watching