DEV Community

Discussion on: Star-rating using Unicode stars

Collapse
 
mellen profile image
Matt Ellen • Edited

Why put the star character in the CSS rather than the HTML?

Collapse
 
link2twenty profile image
Andrew Bone

Good point, it was in the before initially because I was changing between different characters (which you can only do in a before) but I edited the code and that was left in as legacy.

Collapse
 
mellen profile image
Matt Ellen

Ah, I see. Thanks.

Thread Thread
 
link2twenty profile image
Andrew Bone

I've updated the article to not include the before stuff now, thanks for pointing it out.