
61 :has()
The CSS Podcast
00:00
Containers and Reusable UI
Before these features before container queries and has, you didn't really have a way to have your element own and responsive logic. It's still relied on global information, the page. You don't always know what the UI is going to end up looking like if you're using a database system to populate your website. And that's why you need some logic in CSS. Use has has can now do this live on the client based on the viewport.
Play episode from 14:02
Transcript


