Algotify

u/Algotify


r/css•

Hi! I am doing a small react project and trying to do animations with css. When i hover over an image with the mouse I want it to go opaque and when I de-hover I want it to go back. I have an animation that takes the opacity from 1 to 0.4. I then want to re-use this animation with the animationDirection: reverse but it does not work. This is my code:

I am using material UI JSS (https://material-ui.com/styles/basics/)

mediaHide: {
animationName: "$fadeOut",
animationDuration: "0.6s",
opacity: '0.4',
},
mediaShow: {
animationName: '$fadeOut',
animationDirection: 'reverse',
animationDuration: '0.4s',
`opac

22







r/sweden•

Hej, är på tågresa genom europa och imorgon hamnar jag i barcelona. Någon som har koll på något nice ställe att se Sverige matchen imorgon där?

51