typed-css-modules
typed-css-modules copied to clipboard
Add hover to a class
trafficstars
What is the best way to add .input:hover { -- some css code here --}? Right now I have svolved it with creating an own .inputHover:hover class that I append to my React component trough classNames. Just wondering if there is a more elegant way to achieve this.
Thanks for this!
Neither this library or CSS Modules itself changes the behavior of :hover AFAIK...