The CSS Podcast cover image

61 :has()

The CSS Podcast

00:00

Introduction

The has selector lets you style a parent based on its children. The feature just landed in stable versions of both Chromium and WebKit. You can polyephela using post CSS. Has is a part of Selectors Level 4, the same spec as not, is, and where.

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