Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/aaronpk/rating-stars
- Owner: aaronpk
- License: unlicense
- Created: 2016-12-15T18:14:00.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-10-15T23:31:14.000Z (about 5 years ago)
- Last Synced: 2024-04-12T19:53:04.902Z (9 months ago)
- Topics: indieweb, microformats, quill, rating, ui
- Language: HTML
- Homepage:
- Size: 200 KB
- Stars: 22
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
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.