-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rating stars #61
Comments
+1 although said tutorial uses SVG, which may be more handy considering Brand guidelines etc. If we consider reusability for non-Orange projects (or if/when Brand changes) we may be better off going with SVG. @ffoodd would you have time to propose an SVG-based version please? |
Another neat resource from Scott O'Hara. |
Merged
11 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
References
Notes
I wrote a small chunk of code to make a star rating system, as accessible and simple as possible.
I based it on Lea Verou's system which might not be the best, but as far as I tested it, it worked fine.
Take a look at the HTML:
And the associated CSS:
You may notice that:
@sdeschamps-orange shared an interesting tutorial from the WAI which could be a better reference, but is pretty much the same approach for styling.
Could this be interesting for Boosted?
The text was updated successfully, but these errors were encountered: