css last sibling code example
Example 1: selecting last child css
p:last-child {
font-size: 0.75em;
}
Example 2: 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;
}