0

Transition on background image

I have created a div with 200 px height and width , And set the background-image as linear gradient And on Hover I have different gradient ,but the problem is that I am not getting transition of 0.5s on putting transition:0.5 s Pls help me 🙏

10th May 2020, 5:39 PM
Shubham Pandey
Shubham Pandey - avatar
1 Réponse
+ 3
Transitioning gradients is not supported (yet?). Curiously there are some hacks to achieve the visual effect: https://css-tricks.com/transitioning-gradients/
10th May 2020, 10:16 PM
Kevin ★