I have defined the following CSS:
.grade a{
color: white;
}
It is working, but maybe too well...
Now, I have an HTML structure like this:
<li class="grade">
<a><i class="fa fa-star fa-fw"></i></a>
My Text
</li>
The Bootstrap icon inside the list item is also colored white due to the .grade class, which I don't want.
How can I target only specific elements with the class .grade?
<a class="grade"> Text here should be white </a>
and not affect other elements with that class?