-
-
Notifications
You must be signed in to change notification settings - Fork 559
Add .hover class for force button hover appearance #128
Comments
I'm not sure I understand exactly what the issue is. Can you please elaborate more? Where can the issue be found or what is needed to be changed or fixed |
This is a new feature. I would like to add a css .hover class for each button that has a :hover state. |
Example: To every :hover pseudo-class like this:
I would like to add a class .hover
|
I'm not really sure what the purpose of this would be honestly. Plus, this would mean that we would have to add Javascript to the button's functionalities as well (i.e. if someone would use them, they would have to download the css and javascript). |
No, we just add one class in CSS for each button (.hover class). |
I think I understand this, kindly assign it to me. |
Thank you @shahednasser , I will work on it |
@shahednasser reporting a stale issue. |
@GoodnessOlawoore any update on this? |
I'll do it today :) |
But not yet added for all buttons. Example how to use this feature: |
:hover is not trusted attribute so You can't set it programmatically (ex. using JS).
We can add a CSS class to handle this state.
It can be used for button hover animation, for triggering from another hover, etc.
This solution is used, for example, in bootstrap buttons (.active class).
If you think the idea is good, I can work on it. Just assign me :)
The text was updated successfully, but these errors were encountered: