I need to apply a style only for the first child of the entire page, so for example if i have a class '.my-icon' that appears in multiple other divs - then i want them to not be affected so only the first-child "ever" will be affected, but without using id or jquery.
<div>
<div>
<i class="my-icon">*</i> // only this element will be affected.
<i class="my-icon">*</i>
<i class="my-icon">*</i>
<i class="my-icon">*</i>
</div>
<div>
<i class="my-icon">*</i>
<i class="my-icon">*</i>
<i class="my-icon">*</i>
<i class="my-icon">*</i>
</div>
<div>
<i class="my-icon">*</i>
<i class="my-icon">*</i>
<i class="my-icon">*</i>
<i class="my-icon">*</i>
</div>
</div>