css style last-of-type code example
Example: css not last sibling
.star-rating li:not( :last-of-type ) {
margin: 0 12px 0 0;
color: goldenrod;
}
.star-rating li:last-of-type {
color: lightgrey;
}
.star-rating li:not( :last-of-type ) {
margin: 0 12px 0 0;
color: goldenrod;
}
.star-rating li:last-of-type {
color: lightgrey;
}