we uploaded image using . in css, can we change the image using background-image while hover the image
Hello @himachandranp65 ,
We have recieved your query.
This was a really nice question which you have asked.
Give us a couple of minutes & we will reach out with the solution for your query
Zeba Kainat| TA- Edyoda
1 Like
Hi himachandranp65,
This will work if you add an image using and change the background image. But it won’t replace the current image; it will just add a background image for the current image. If you need to replace the background image on hover, use “background-image: url(“test_bg_image.png”);” on both places where you want to actually show it and also on hover.
Please refer below link for better understanding…
[Background Image change on hover]
(https://codepen.io/Athira231996/pen/RwBPzvw?editors=1010)
1 Like