DEV Community


Discussion on: Star-Rating Using A Single Input

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. :)

madsstoumann profile image
Mads Stoumann Author • 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!