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

CSS Angles

There's also apparently an EX unit, which is the relative ex height of the current font. I did not know this: There are angles that you can use in addition to degrees. So if you want to spin something around when you hover, you could just say rotate one turn and you don't have to do a 360 times dot 66 calculation. And then there's also radians rad. Rad and rad. Yeah, it plays so nice with, with all of that new stuff. It's definitely super, uh, something you should be using by now. If you aren't, they're very highly supported at this point.

Play episode from 45:39
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