is there a way in CSS that you wouldn't add the css to the li?
So here's my example html
<li class="nav-item">
<a class="nav-link active" id="components-tab" data-toggle="tab" href="#components" role="tab" aria-controls="components" aria-selected="true">
<i class="la la-lg la-cube"></i> <div><small>Components</small></div>
</a>
</li>
<li class="nav-item">
<a class="nav-link" id="blocks-tab" data-toggle="tab" href="#blocks" role="tab" aria-controls="blocks" aria-selected="false">
<i class="la la-lg la-image"></i> <div><small>Templates</small></div>
</a>
</li>
So in the links in my li
I only want to add the css to the nav-link
that does not have the active
class.
How can I do this in pure css?
Thank you!