PostCSS Crash Course

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

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.
@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.
@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.
@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.
@cipherlofi6453
@cipherlofi6453 Жыл бұрын
thanks brad, it is on time i am messing with postcss now.
@petarkolev6928
@petarkolev6928 Жыл бұрын
Ah, damn, right on time :D I just needed such course, thanks!!!
@parvezmosharraf6522
@parvezmosharraf6522 Жыл бұрын
Thank you so much sir I'll be waiting for it so along.
@kirkpatrikolis273
@kirkpatrikolis273 Жыл бұрын
thanks brad waiting for this one ♥️
@almhdy24
@almhdy24 Жыл бұрын
New great tutorial. Thank you 💜
@walidallaf6057
@walidallaf6057 Жыл бұрын
Thanks bro ❤️ Another awesome tutorial 🔥
@aneliayacheva6671
@aneliayacheva6671 Жыл бұрын
Now I know why I used to watch your videos so much
@motsi9593
@motsi9593 Жыл бұрын
Thank you man. Great deep stuff.
@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. 🙏
@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
@webWithMe
@webWithMe Жыл бұрын
Cool course👍
@MohammedAbdulMohaiman
@MohammedAbdulMohaiman Жыл бұрын
Awesome... Thanks 💙
@indaneeydesign165
@indaneeydesign165 Жыл бұрын
Thank you Brad
@jssecrets
@jssecrets Жыл бұрын
Thank you mane!
@glitchspark1663
@glitchspark1663 Жыл бұрын
What a coincidence. I was just about to learn postcss.
@chanmyaemaung
@chanmyaemaung Жыл бұрын
Awesome!!!
@herosimobiko
@herosimobiko Жыл бұрын
Never knew that PostCSS is as powerfull as this 😄
@jeffsuddaby4788
@jeffsuddaby4788 Жыл бұрын
Very nice. Just what I needed! One issue: The "precss" page on NPM says the package is deprecated. Any alternatives?
@Bawaromerali
@Bawaromerali Жыл бұрын
Thanks man.
@wisdomelue
@wisdomelue Жыл бұрын
so many packages installed 💀, would stick to sass then💀😂😂 thanks as always for the tutorial brad💯🙏🏽
@sourabhshukla8625
@sourabhshukla8625 Жыл бұрын
thanks brad
@champorado2131
@champorado2131 Жыл бұрын
Wow nice one.
@lifeisbeautifu1
@lifeisbeautifu1 Жыл бұрын
Thank you
@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!
@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?
@blxckmage
@blxckmage Жыл бұрын
hey brad, is it possible if you do chakraui course? thanks
@shauntonesify
@shauntonesify Жыл бұрын
@import for sass is deprecated no? In favor of @use? Or am I too early 😂
@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
@armanahmed4806
@armanahmed4806 Жыл бұрын
Hi Brad what is your next course?? What about Modern Javascript and Vue js?
@coderlicious6565
@coderlicious6565 Жыл бұрын
Vue js? Nah
@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!👍🫡
@zedshockblade7157
@zedshockblade7157 Жыл бұрын
Next Js 13 please!
@mohamedabdulla8097
@mohamedabdulla8097 Жыл бұрын
Waiting for you nextjs 13 upgrades
@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
@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
@aashishpudasaini4418
@aashishpudasaini4418 Жыл бұрын
👍
@yasir269050
@yasir269050 Жыл бұрын
First to comment
@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
@SohailKhan-tc8uz
@SohailKhan-tc8uz Жыл бұрын
1st view
@nomad100hd
@nomad100hd Жыл бұрын
I've used Sass and PostCSS, and prefer Sass.
@adders9978
@adders9978 Жыл бұрын
hello
@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
Рет қаралды 52 М.
Astro Crash Course
1:35:19
Traversy Media
Рет қаралды 151 М.
Суд над Бишимбаевым. 24 апреля | ОНЛАЙН
7:26:50
Угадайте концовку😂
00:11
Poopigirl
Рет қаралды 4 МЛН
CSS Grid - самая понятная инструкция с примерами по гридам (сеткам) в CSS
49:33
Webpack 5 Crash Course | Frontend Development Setup
41:17
Traversy Media
Рет қаралды 279 М.
Flexbox Crash Course 2024
46:54
Traversy Media
Рет қаралды 409 М.
Vite Crash Course | Faster Alternative To CRA
16:24
Traversy Media
Рет қаралды 176 М.
TypeScript Crash Course
52:27
Traversy Media
Рет қаралды 576 М.
CSS Grid Crash Course
53:45
Traversy Media
Рет қаралды 302 М.
Bun Crash Course | JavaScript Runtime, Bundler & Transpiler
40:19
Traversy Media
Рет қаралды 63 М.
Learn how to power-up your CSS with PostCSS
20:23
Kevin Powell
Рет қаралды 81 М.
Command Line Crash Course For Beginners | Terminal Commands
44:53
Traversy Media
Рет қаралды 139 М.
TailwindCSS. Полный курс
1:55:05
webDev
Рет қаралды 58 М.
Почему сканер ставят так не удобно?
0:47
Не шарю!
Рет қаралды 248 М.
Phone sees the future ! 📲🫣👽
0:38
BOGDANCHIKI
Рет қаралды 11 МЛН
Я Создал Новый Айфон!
0:59
FLV
Рет қаралды 789 М.
Result of the portable iPhone electrical machine #hacks
1:01
KevKevKiwi
Рет қаралды 5 МЛН
Распаковка айфона под водой!💦(🎥: @saken_kagarov on IG)
0:20
Взрывная История
Рет қаралды 9 МЛН