The code structure I'm working with looks like this:-
<li class="container">
<div class="wrap">
<div class="green">...</div>
</div>
</li>
<li class="container">
<div class="wrap">
<div class="xyz">...</div>
</div>
</li>
..
.. and so on
Currently, the li element has the following css properties:
margin-top:35px
I want to exclude the above margin for li elements containing the class green, but preserve it for those with the class xyz.
I attempted to use the CSS selector >, however, it did not yield the desired results.