-
Notifications
You must be signed in to change notification settings - Fork 12.2k
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
FA5: Icon hover class #11950
Comments
You could write a CSS class for
|
That works for color, but what about completely changing the icon to something else on hover? |
You would need to add CSS that refers to the icon you want's unicode codepoint |
Are you using the webfont or the javascript framework? |
I am using the JavaScript framework |
See https://fontawesome.com/how-to-use/svg-with-js#pseudo-elements for the solution to this. |
Solution full sample code for changing the icon to something else on hover? |
I am not sure if this is built in or not, but I can't seem to find a way to do this.
It would be nice if each icon had a hover class that would take effect when hovered upon.
Maybe something like this:
The text was updated successfully, but these errors were encountered: