If you trust this link, click it to continue.
https://css-tricks.com/a-css-only-star-rating-component-and-more-part-2/