PostCSS Crash Course

  Рет қаралды 53,237

Traversy Media

Traversy Media

Күн бұрын

In this video, we will talk about what PostCSS is, set it up and show you how to use some of the popular plugins such as postcss-preset-env, precss, postcss-import, autoprefixer and more.
💻 Code:
github.com/bradtraversy/postc...
⭐ All Courses:
traversymedia.com
💖 Show Support
Patreon: / traversymedia
PayPal: paypal.me/traversymedia
👇 Follow Traversy Media On Social Media:
Twitter: / traversymedia
Instagram: / traversymedia
Linkedin: / bradtraversy
Timestamps:
0:00 - Intro
0:47 - Slides
6:48 - Docs
8:14 - Setup & Install
9:42 - Build & Watch Scripts
12:40 - Autoprefixer & Plugin Config
16:17 - postcss-preset-env
18:05 - Custom selectors, media, nesting
21:29 - PreCSS
24:13 - PostCSS Import & File Structure
28:42 - PostCSS Assets
31:52 - CSSNano

Пікірлер: 75
@spreadItWide
@spreadItWide Жыл бұрын
Why's their logo look like it's summoning demons??
@derciojds
@derciojds Жыл бұрын
😹 Yeah it looks like a devil's signs
@marekbee
@marekbee Жыл бұрын
CSS = Cool Son of Satan
@kevinnjoroge3561
@kevinnjoroge3561 Жыл бұрын
@@derciojds UryFjsjsussiistyujik
@adarsh-chakraborty
@adarsh-chakraborty Жыл бұрын
I've the same question lmao
@semikolondev
@semikolondev Жыл бұрын
It’s just geometric forms. 😂
@bogdanlupu3679
@bogdanlupu3679 Жыл бұрын
Thanks Brad as usual your tutorials are top notch.
@entrepreneurzee
@entrepreneurzee Жыл бұрын
Here for all the tutorials, big thumbs up.
@littleoddboy
@littleoddboy 3 ай бұрын
for those wants learn these small concepts and stuffs like PostCSS, like me, this video was very very helpful. tnx man. stay alive.
@paulthomas1052
@paulthomas1052 Жыл бұрын
Excellent tutorial about PostCSS plus some previews of next gen CSS stuff.
@monles2352
@monles2352 Жыл бұрын
Hi, Brad, Your free courses on youtube channel are aluable kindly, Before I have enrolled your courses, I've alreay followed your channel for months. I am so impressed by the value of content, also your effort put in it! Thank you for keep giving us so many good educational videos for free.
@petarkolev6928
@petarkolev6928 Жыл бұрын
Ah, damn, right on time :D I just needed such course, thanks!!!
@walidallaf6057
@walidallaf6057 Жыл бұрын
Thanks bro ❤️ Another awesome tutorial 🔥
@almhdy24
@almhdy24 Жыл бұрын
New great tutorial. Thank you 💜
@parvezmosharraf6522
@parvezmosharraf6522 Жыл бұрын
Thank you so much sir I'll be waiting for it so along.
@cipherlofi6453
@cipherlofi6453 Жыл бұрын
thanks brad, it is on time i am messing with postcss now.
@motsi9593
@motsi9593 Жыл бұрын
Thank you man. Great deep stuff.
@aneliayacheva6671
@aneliayacheva6671 Жыл бұрын
Now I know why I used to watch your videos so much
@kirkpatrikolis273
@kirkpatrikolis273 Жыл бұрын
thanks brad waiting for this one ♥️
@aram5642
@aram5642 Жыл бұрын
Would you kindly consider making a video about your preferred way to build a web app that uses some sort of calendar/cron--based mechanism (eg. sending reminder emails at specific dates, intervals)? It would be interesting to see what kind of stack you'd use.
@rickythegermanshepherd5438
@rickythegermanshepherd5438 Жыл бұрын
Great tutorial brad ♥️ Please make a video on react table v8.. with features like sorting, global filter, column filter, grouping, pagination etc. All react table tutorials are for v7.. but v8 is much more different than v7
@gambomaster
@gambomaster Жыл бұрын
Thank you Brad. 🙏
@webWithMe
@webWithMe Жыл бұрын
Cool course👍
@flojj
@flojj Жыл бұрын
Well, thanks to you I just learned that nesting is now possible in native CSS...... but when I looked it up on the web, apparently as of today it is not implemented on any browser yet lol I guess we shouldn't using nesting in vanilla CSS at all at this point. Anyway regarding Post CSS, it was really clear and interesting so thank you :D
@MohammedAbdulMohaiman
@MohammedAbdulMohaiman Жыл бұрын
Awesome... Thanks 💙
@indaneeydesign165
@indaneeydesign165 Жыл бұрын
Thank you Brad
@herosimobiko
@herosimobiko Жыл бұрын
Never knew that PostCSS is as powerfull as this 😄
@jssecrets
@jssecrets Жыл бұрын
Thank you mane!
@wisdomelue
@wisdomelue Жыл бұрын
so many packages installed 💀, would stick to sass then💀😂😂 thanks as always for the tutorial brad💯🙏🏽
@jeffsuddaby4788
@jeffsuddaby4788 Жыл бұрын
Very nice. Just what I needed! One issue: The "precss" page on NPM says the package is deprecated. Any alternatives?
@glitchspark1663
@glitchspark1663 Жыл бұрын
What a coincidence. I was just about to learn postcss.
@sourabhshukla8625
@sourabhshukla8625 Жыл бұрын
thanks brad
@Bawaromerali
@Bawaromerali Жыл бұрын
Thanks man.
@champorado2131
@champorado2131 Жыл бұрын
Wow nice one.
@lifeisbeautifu1
@lifeisbeautifu1 Жыл бұрын
Thank you
@chanmyaemaung
@chanmyaemaung Жыл бұрын
Awesome!!!
@luishenriqueandradepellizz680
@luishenriqueandradepellizz680 Жыл бұрын
Brad, give us a tutorial using nextJs13. Thanks ❤️
@akam9919
@akam9919 Жыл бұрын
Are you spying on me, because I was thinking about learning about PostCSS...? Regardless, I'm happy for this!
@shauntonesify
@shauntonesify Жыл бұрын
@import for sass is deprecated no? In favor of @use? Or am I too early 😂
@nvrp
@nvrp Жыл бұрын
Thank you!!! Recently discovered your courses on Udemy and then found your videos on KZbin as well! Very very informative! To the point! So, i can learn very useful stuff, very quickly! Thank you!👍🫡
@Whovianpancake
@Whovianpancake Жыл бұрын
Hello Brad, precss is deprecated, can you tell me how I can workaround this as I am very used to sass variables and would love to work with them using PostCSS. It would seem precss is dead on github and won't upgrade to the new version of PostCSS.
@carlosz1858
@carlosz1858 Жыл бұрын
Hey Brad, great video, but i've got a problem with precss, i installed and put in on postcss.config an then run it but the input file thinks its an error, can you help?
@Tony.Nguyen137
@Tony.Nguyen137 Жыл бұрын
Are there also plugins for javascript file to optimize it?
@zedshockblade7157
@zedshockblade7157 Жыл бұрын
Next Js 13 please!
@blxckmage
@blxckmage Жыл бұрын
hey brad, is it possible if you do chakraui course? thanks
@armanahmed4806
@armanahmed4806 Жыл бұрын
Hi Brad what is your next course?? What about Modern Javascript and Vue js?
@coderlicious6565
@coderlicious6565 Жыл бұрын
Vue js? Nah
@mohamedabdulla8097
@mohamedabdulla8097 Жыл бұрын
Waiting for you nextjs 13 upgrades
@AnDi-tx2xh
@AnDi-tx2xh Жыл бұрын
Does any one know the name of the font Brad is using? :) I've been looking all over the place for it and can not find it :) Thankyou ^^
@Venkatesh-vm4ll
@Venkatesh-vm4ll Жыл бұрын
Aws multiple way to deploy mern stack, please make a video
@OnePiece_Fandom
@OnePiece_Fandom Жыл бұрын
My css is working on my style.css but in my input.css there is yellow lines and error on my css code but it's working how can I remove them ?
@OnePiece_Fandom
@OnePiece_Fandom Жыл бұрын
Solved it , btw thanks for this awesome tutorial
@aashishpudasaini4418
@aashishpudasaini4418 Жыл бұрын
👍
@AmodeusR
@AmodeusR Жыл бұрын
In the PostCSS config from TailwindCSS config they don't use "require("autoprefixer")", just "autoprefixer: {}". Why the difference? Also, the plugins is not an array, but an object.
@littleoddboy
@littleoddboy 3 ай бұрын
dude, tnx for asking this question. so I asked ChatGPT about your question. you can ask it too. but I found that: in PostCSS you can use two ways to requiring a plugin. first. using `require()` second. using obj form. and u man ask what's the difference? in the second way, you can customise the plugin and set some configurations for it. in the first way, you just straightforward requiring only the plugin, without any thing else (like configuration and ect.) but in the other way, you have more flexibility. also, ChatGPT says: "Different versions of PostCSS or various build tools might prefer one syntax over the other for compatibility or ease of use." I hope it's helpful.
@moneyfr
@moneyfr Жыл бұрын
How convert all my asset to webp on build
@bowendsom
@bowendsom Жыл бұрын
This is little bit like tailwindcss without class and power of sass ! and lot of plugins required
@amsebookstore3765
@amsebookstore3765 Жыл бұрын
Sir Create Video Sharing Platform, KZbin similar website
@nomad100hd
@nomad100hd Жыл бұрын
I've used Sass and PostCSS, and prefer Sass.
@yasir269050
@yasir269050 Жыл бұрын
First to comment
@adders9978
@adders9978 Жыл бұрын
hello
@SohailKhan-tc8uz
@SohailKhan-tc8uz Жыл бұрын
1st view
@henryg2350
@henryg2350 Жыл бұрын
TOOOOOOO MUCH TALKING
@truthteachers
@truthteachers Жыл бұрын
Bro, what postcss extension are you using in vscode?
@oldgsteel
@oldgsteel Жыл бұрын
How can we deploy this ??
@socialkruption
@socialkruption Жыл бұрын
Dats right, you better delete your tweets on El0n. >;->
Prisma Crash Course
36:41
Traversy Media
Рет қаралды 51 М.
ONE MORE SUBSCRIBER FOR 4 MILLION!
00:28
Horror Skunx
Рет қаралды 35 МЛН
skibidi toilet 73 (part 1)
04:46
DaFuq!?Boom!
Рет қаралды 25 МЛН
5 Pro-Level React Do's & Don'ts
30:06
Traversy Media
Рет қаралды 172 М.
Stop using an extension to compile Sass
21:39
Kevin Powell
Рет қаралды 125 М.
Top 10 CSS One Liners That Will Blow Your Mind
13:34
developedbyed
Рет қаралды 861 М.
Async JS Crash Course - Callbacks, Promises, Async Await
24:31
Traversy Media
Рет қаралды 1,4 МЛН
CSS Anchor Is The Best New CSS Feature Since Flexbox
15:39
Web Dev Simplified
Рет қаралды 348 М.
Are You Too Dumb To Code? A Chat About Imposter Syndrome
7:08
Traversy Media
Рет қаралды 60 М.
What Is an AI Anyway? | Mustafa Suleyman | TED
22:02
TED
Рет қаралды 346 М.
7 ways to deal with CSS
6:23
Fireship
Рет қаралды 1 МЛН
Command Line Crash Course For Beginners | Terminal Commands
44:53
Traversy Media
Рет қаралды 138 М.
Every modern site should be using PostCSS!
18:58
Coding in Public
Рет қаралды 13 М.
Интел подвинься, ARM уже в ПК!
14:06
PRO Hi-Tech
Рет қаралды 72 М.
Продать одно приложение дважды
0:49
Real Emil
Рет қаралды 1,1 МЛН
Секретная функция ютуба 😱🐍 #shorts
0:14
Владислав Шудейко
Рет қаралды 667 М.
Iphone yoki samsung
0:13
rishton_vines😇
Рет қаралды 8 МЛН
Which Phone Unlock Code Will You Choose? 🤔️
0:12
Game9bit
Рет қаралды 2,4 МЛН
Vortex Cannon vs Drone
20:44
Mark Rober
Рет қаралды 10 МЛН