structor
structor copied to clipboard
Pseudo-classes usage
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 !