Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aaronpk/rating-stars

⭐️⭐️⭐️⭐️⭐️ A 5-star rating widget implemented in JS and CSS
https://github.com/aaronpk/rating-stars

indieweb microformats quill rating ui

Last synced: 28 days ago
JSON representation

⭐️⭐️⭐️⭐️⭐️ A 5-star rating widget implemented in JS and CSS

Awesome Lists containing this project

README

        

Rating Stars
============

This project replicates the UX of Amazon.com's 5-star rating system. When you hover over a star, the preceding stars highlight blue, and clicking makes the highlighted stars turn yellow and stick.

![stars](stars.gif)

No external images are required, and only plain Javascript is used. (The stars themselves are inline SVG data URIs in the CSS, making them load instantly.)

Everything you need is in `index.html`. There are no external files.

License
-------

This software is released to the public domain as described in LICENSE.txt.