Use Next-gen CSS Today (Post CSS Configs)
In this Hasty Treat, Scott and Wes talk about next generation CSS that you can use today with PostCSS including importing, nesting, variables, media query ranges, custom media queries, and more.
Prismic - SponsorPrismic is a Headless CMS that makes it easy to build website pages as a set of components. Break pages into sections of components using React, Vue, or whatever you like. Make corresponding Slices in Prismic. Start building pages dynamically in minutes. Get started at prismic.io/syntax.
Sentry - SponsorIf you want to know what’s happening with your code, track errors and monitor performance with Sentry. Sentry’s Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up.
Show Notes- 00:27 Welcome
- 01:30 Sponsor: Prismic
- 02:54 Sponsor: Sentry
- 03:53 Do we use Post CSS?
- 05:22 Presets and plugins
- 06:19 Plugins we’re using
- 09:48 PostCSS Nested
- 12:59 Variables (Custom Properties)
- 15:50 Media Query Ranges
- PostCSS Media Minmax
- 17:16 Custom Media Queries
- 18:35 Env Vars
- 20:12 Color Function and Color Function Notation
- Scott’s Instagram
- LevelUpTutorials Instagram
- Wes’ Instagram
- Wes’ Twitter
- Wes’ Facebook
- Scott’s Twitter
- Make sure to include @SyntaxFM in your tweets