I am facing an issue with the following code snippet:
<span class="stars">★★☆☆☆ </span>
My objective is to style the empty stars differently, but I am unsure how to specifically target them.
The following CSS rule does not produce the desired effect:
.glyphicon-glyphicon-star-empty{
color: gray !important;
}
Similarly, this rule changes the color of all stars, not just the empty ones:
.entry-content span .stars{
color:gray;
}
Is there a way to only change the color of the borders of the empty stars (the last 3)? I prefer a solution using CSS only, but I am open to using JQuery or JavaScript if necessary. Please note that there will be additional classes involved. The goal is to target all empty stars specifically.