CSS3 was already something really cool. Now, in version 4, or better saying, in level 4, as it will be divided from now, CSS has much more features. One of them is the
Using it, we could substitute something like that:
In other words, we get every
highlight class that are children of a
We could even make the inverse way, as in the example below: we select all
p elements that have the
success class or that is
Here the link with the example above.
Do you like it? Did I write something stupid? Do you want to improve? Open an issue mentioning the post and let’s talk about it.