structor icon indicating copy to clipboard operation
structor copied to clipboard

Pseudo-classes usage

Open Skealz opened this issue 7 years ago • 0 comments

Hi,

I wanted to implement a hover effect on a a. I first tried to add a property "onmouseover", but the property disappear when I switch to preview mode. Then I tried to use &:hover in the style property, trick that i found here : https://stackoverflow.com/questions/44688144/how-to-do-css-hover-function-in-jsx but same thing, the style property disappear in preview mode.

Is there another working way of implementing pseudo-classes ?

Thanks !

Skealz avatar May 19 '18 22:05 Skealz