DEV Community

Discussion on: Star-Rating Using A Single Input

Collapse
 
sebbdk profile image
Sebastian Vargr

Really neat trick, i really like these none js solutions, it usually means the part is compatible with pretty much every library on the web. :)

Collapse
 
madsstoumann profile image
Mads Stoumann • Edited

There's a tiny bit of JS, that update the CSS Custom Property, but most of the logic is in CSS, based on that property!