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
-
Drew Hernandez
11 hours agoMASS CONFUSION AROUND CHARLIE'S MURDER
52.4K32 -
1:01:40
HotZone
6 days ago $9.76 earned"Prepare for WAR" - Confronting the URGENT Threat to America
71.2K18 -
20:23
Scammer Payback
12 hours agoTerrifying Scammers with File Deletions
41.1K12 -
16:22
The Gun Collective
8 hours agoWOW! 17 New Guns JUST GOT RELEASED!
52.2K10 -
1:13:57
Glenn Greenwald
9 hours agoYoung Men and Online Radicalization: Dissecting Internet Subcultures with Lee Fang, Katherine Dee, and Evan Barker | SYSTEM UPDATE #516
184K76 -
1:14:57
Sarah Westall
6 hours agoCEO of Crowds on Demand: The Fake World of Social Media, Protests & Movements w/ Adam Swart
65K10 -
4:03:25
Geeks + Gamers
9 hours agoTuesday Night's Main Event
81.2K2 -
40:36
RiftTV
8 hours agoHow We Got 400 Leftists FIRED for MOCKING Charlie Kirk | The Rift | Guest: Olivia Krolczyk
79.8K64 -
1:28:58
Badlands Media
22 hours agoBadlands Story Hour Ep 134: Godzilla Minus One
48.4K8 -
1:33:43
Patriots With Grit
17 hours agoWrongful Death Without Consequences: Inside the Schara Trial | Scott Schara
25.9K1