Thursday 27 December 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

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...