CSS :has() Playground

Type a selector against a small HTML tree and see which elements match, live — :has(), :not(), attribute selectors, combinators, anything querySelectorAll supports.

Browse all tools