Answers for "react change background image on hover"

0

react change background image on hover

.my-image-class {
 background-image: var(--my-image);
 background-repeat: no-repeat;
 background-position: center;
 &:hover {
 background-image: var(--hover-image);
   transform: scale(1.5);
 }
}
Posted by: Guest on April-29-2022

Code answers related to "react change background image on hover"

Code answers related to "Javascript"

Browse Popular Code Answers by Language