Web platform features explorer

:has-slotted

The :has-slotted CSS pseudo-class matches <slot> elements where the fallback content is not shown. The pseudo-class matches any slotted content, including white space, text nodes, or elements.

Status

Limited availability

MDN documentation

Browser support

Usage (according to Chrome Platform Status)

~0.000% of page loads. More data at chromestatus.com.

Developer votes

Do you need this feature?
Let us know by leaving a 👍 reaction on the feedback issue. Don't forget to also leave a comment explaining your specific use case.