I have something like
<div>
<div class="a">content</div>
</div>
<div>
<div class="a">content</div>
</div>
<div>
<div class="a">content</div>
</div>
Is there a way to apply an adjacent sibling type rule to class a, given that they are contained within another element?
For example, I'd like to be able to do:
a + a { font-size: smaller; }
to apply a rule to all but the first div. However, this won't work with the traditional + operator, because it only applies to directly adjacent elements.