Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

animate zoom in and zoom out in css

<div class="cardcontainer">
  <img class="galleryImg" src="https://www.google.com/logos/doodles/2014/2014-winter-olympics-5710368030588928-hp.jpg">
</div>

@keyframes zoominoutsinglefeatured {
    0% {
        transform: scale(1,1);
    }
    50% {
        transform: scale(1.2,1.2);
    }
    100% {
        transform: scale(1,1);
    }
}

.cardcontainer img {
    animation: zoominoutsinglefeatured 1s infinite ;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #animate #zoom #zoom #css
ADD COMMENT
Topic
Name
4+2 =