Hide elements lacking a specific child using CSS’s not() and has().

ifthenelse 0 48 0
Open on CodePen More by ifthenelse

Tags