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
-
25:34
Stephen Gardner
6 hours ago🔥Trump MUST BE KEPT ALIVE at all costs! | Exclusive RFK JR Interview!!
74.6K155 -
53:31
Standpoint with Gabe Groisman
13 hours agoEp 50. God is Real! with Academy Award-winning actor John Voight
96.5K77 -
35:04
Power Slap
7 days agoPower Slap: Road to the Title - Season 3 Episode 9 - Bring Out That Monster
793K109 -
15:52
Scammer Payback
1 month agoScammers Located in this Apartment
151K65 -
10:41
Breaking Points
3 days agoARSON, 'FREAK OFFS', LUBE: Diddy Indictment SHOCKING DETAILS
115K51 -
45:44
hickok45
16 hours agoSunday Shoot-a-Round # 247
85.2K49 -
3:34
Cooking with Gruel
1 day agoBrown Butter Deviled Eggs
82K11 -
11:06
Bearing
12 hours agoThe Office 2024 Australian Reboot Looks GARBAGE
69.6K17 -
28:21
Lloyd And Mandy
16 hours ago $4.56 earnedThe INCREDIBLE Hack Every Online Business Owner MUST KNOW In 2024..
72.7K8 -
0:51
scoutthedoggie
1 day agoWhat's in your Northeast UZI Rob?
59.3K2