styling a parent based on a child

Hey, is it possible to style a parent based on whether it's first child is let's say a paragraph tag for example?
4 Replies
Jochem
Jochem•15mo ago
with :has
snxxwyy
snxxwyy•15mo ago
oh awesome, thank you, i'll look into that now 😄 hm it's not supported on firefox which will make things difficult 😅, do you know if they're planning on adding support there?
Jochem
Jochem•15mo ago
they are, but it's going slow definitely one of the most anticipated upcoming features though
snxxwyy
snxxwyy•15mo ago
yeah it will for sure be a good when it's compatible!
Want results from more Discord servers?
Add your server