Thursday, December 27, 2018

css - Target div only if specific child tag does not exist

I have these two examples:




text





text





Via CSS, is it possible to target the hello div only if it does not contain the

tag?



So with the above example, I want to target the first hello div...

No comments:

Post a Comment