typed-css-modules icon indicating copy to clipboard operation
typed-css-modules copied to clipboard

Add hover to a class

Open andrzey opened this issue 7 years ago • 1 comments
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!

andrzey avatar Nov 23 '17 12:11 andrzey

Neither this library or CSS Modules itself changes the behavior of :hover AFAIK...

aaronbeall avatar Dec 09 '17 03:12 aaronbeall