Syntax - Tasty Web Development Treats cover image

What's New in CSS? Variables, Scoping, New Selectors and Color Functions

Syntax - Tasty Web Development Treats

00:00

How to Use SAS to Update Variables in Media Queries

The same thing works with media queries, right? I mean, this is also super tasty. So if you like set your variables and you want to adjust them, you can just simply update the variable within the media query rather than rewriting the CSS to overwrite. You could possibly even do that dynamically. Yeah, I think that's going to be really super nice. Oh, yeah. Well, let me say one other thing about box shadow where you know, with with background, you always have properties like background color, background size, background attachment. If you ever wanted to update the color of your box shadow without messing with any of the other values, then you can just put set that to

Play episode from 17:20
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app