Рет қаралды 81,193
If you're going to use the preset-env, I'd strongly recommend adding the PostCSS Language Support plugin to VS Code, so that it recognizes the CSS you are writing: marketplace.visualstudio.com/...
PostCSS is an absolutely amazing tool, so let's see how we can use it!
🔗 Links
✅ PostCSS: postcss.org
⌚ Timestamps
00:00 - Introduction
01:18 - The plugins we'll be setting up
01:32 - Installing PostCSS
04:17 - Installing our first plugin
05:06 - Adding the PostCSS config file
06:25 - Using our first plugin
07:28 - Setting up the command in our package.json
09:12 - Using the command
10:01 - Getting PostCSS to watch our files
12:09 - Installing cssnano and preset-env
14:12 - Exploring preset-env
15:37 - Setting up options for a plugin
17:57 - Custom property media queries with preset-env
#css
--
Come hang out with other dev's in my Discord Community
💬 / discord
Keep up to date with everything I'm up to
✉ www.kevinpowell.co/newsletter
Come hang out with me live every Monday on Twitch!
📺 / kevinpowellcss
---
Help support my channel
👨🎓 Get a course: www.kevinpowell.co/courses
👕 Buy a shirt: teespring.com/stores/making-t...
💖 Support me on Patreon: / kevinpowell
---
My editor: VS Code - code.visualstudio.com/
---
I'm on some other places on the internet too!
If you'd like a behind the scenes and previews of what's coming up on my KZbin channel, make sure to follow me on Instagram and Twitter.
Twitter: / kevinjpowell
Codepen: codepen.io/kevinpowell/
Github: github.com/kevin-powell
---
And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!