0

I would like to know if there is a simpler way to achieve what I need:

For h2 ,p, ul, [and eventually more]

.left > h2:first-child,
.left > div:first-child > h2:first-child,
.left > p:first-child,
.left > div:first-child > p:first-child,
.left > ul:first-child,
.left > div:first-child > ul:first-child

Something that would be like:

.left > [LIST OF TAGS]:first-child,
.left > div:first-child > [LIST OF TAGS]:first-child

Thank you

4

0 回答 0