mouseover animation image
Hello,
I would like to know if it’s possible to add a mouseover animation to my images.
This is my website (under construction) http://www.clarawebdigital.com
I have 3 images which are linked to an URL. I would like that these images will have an animation when the client goes over this image with the mouse.
Thank you for your help
Attachments:
You must be
logged in to view attached files.
Hi @Worldfutureshift,
I hope you are well today and thank you for your question.
You can achieve it by adding the following CSS code in the Custom CSS code option of your theme on the below path.
Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code
.home .sh-single-image-container img.sh-image-url{
-webkit-transition: all 200ms ease-in;
-webkit-transform: scale(1);
-ms-transition: all 200ms ease-in;
-ms-transform: scale(1);
-moz-transition: all 200ms ease-in;
-moz-transform: scale(1);
transition: all 200ms ease-in;
transform: scale(1);
}
.home .sh-single-image-container img.sh-image-url:hover
{
box-shadow: 0px 0px 150px #000000;
z-index: 2;
-webkit-transition: all 200ms ease-in;
-webkit-transform: scale(1.5);
-ms-transition: all 200ms ease-in;
-ms-transform: scale(1.5);
-moz-transition: all 200ms ease-in;
-moz-transform: scale(1.5);
transition: all 200ms ease-in;
transform: scale(1.1);
}
Best regards,
Shufflehound team
Hey, Thank you so much!!! is perfect:! Thank you again!
Popular choice
Professional Developers At Your Fingertips!
If you need services beyond standard support, we've got your back!
Services we offer:
Graphic work / visualizations Full WordPress development and design
We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies.