meta_pixel
Tapesearch Logo
Log in
Syntax - Tasty Web Development Treats

Use Next-gen CSS Today (Post CSS Configs)

Syntax - Tasty Web Development Treats

Wes Bos

Tech News, Technology, News

4.91.2K Ratings

🗓️ 12 September 2022

⏱️ 25 minutes

🧾️ Download transcript

Summary

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 - Sponsor Prismic 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 - Sponsor If 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 "postcss-import" @import './elements/headings.css'; 09:48 PostCSS Nested 12:59 Variables (Custom Properties) 15:50 Media Query Ranges PostCSS Media Minmax 17:16 Custom Media Queries "postcss-media-minmax" @media screen and (width >= 500px) and (width <= 1200px) "postcss-custom-media" @custom-media --below_small (width < env(--small_bp)); @media (--above_small) {} 18:35 Env Vars "postcss-env-function" env(--small_bp) 20:12 Color Function and Color Function Notation /* color-function */ p { color: color(display-p3 1 0.5 0); color: color(display-p3 1 0.5 0 / .5); } Syntax 479: CSS Color Functions Post CSS Color Functional Notation Post CSS Preset Env Tweet us your tasty treats Scott’s Instagram LevelUpTutorials Instagram Wes’ Instagram Wes’ Twitter Wes’ Facebook Scott’s Twitter Make sure to include @SyntaxFM in your tweets

Transcript

Click on a timestamp to play from that location

0:00.0

Monday Monday Monday open wide dev fans get ready to stuff your face with

0:07.0

JavaScript CSS node modules barbecue tips get work flow break dancing soft skills web

0:12.2

development the hastiest the crazy as the tastiest web development treats coming in

0:17.9

hot here is Wes Barakuda boss and Scott El Toro loco Tolinsky

0:26.7

Welcome to syntax on this Monday hasty treat we're going to be talking about post

0:32.8

CSS and some of the configs that I have been using lately as well as some of the

0:39.0

stuff that Wes has been using to use future CSS today and really get to take

0:43.7

advantage of some of these amazing new modern CSS features right now. We're

0:48.3

going to be talking about exact plugins and the types of things they enabled you

0:52.0

to do. My name is Scott Tolinsky I'm a developer from Denver Colorado and with

0:55.8

me as always is Wes the boss everybody again I'm still work on my office so

1:03.2

apologies for the echo right off the bat but we got some good stuff for you

1:07.2

today. Yep and and I apologize if there's any echo in mind I took down a

1:11.5

couple of my sound panels because I've been moving things around a little bit

1:14.6

so yeah tuned as it normally is sounds pretty good. Yes it does. Before we get

1:23.8

going let's talk about two amazing sponsors today one of which is prismic in

1:27.4

the other is century west you want to talk about prismic and I will talk about

1:31.4

century. Yes prismic is a headless CMS it's a service so all you have to do is

1:37.6

sign on up and you can get right away to using their UI to create all of your

1:43.0

content types they say giving prismic to teams turns websites into growth

1:47.3

engines why because prismic makes it really easy for you the developer to get

1:52.8

set up you create your content types you create your relationship types and

...

Please login to see the full transcript.

Disclaimer: The podcast and artwork embedded on this page are from Wes Bos, and are the property of its owner and not affiliated with or endorsed by Tapesearch.

Generated transcripts are the property of Wes Bos and are distributed freely under the Fair Use doctrine. Transcripts generated by Tapesearch are not guaranteed to be accurate.

Copyright © Tapesearch 2026.