Search
 
SCRIPT & CODE EXAMPLE
 

CSS

zoom animations in css

.zoom-in-out-box {
  margin: 24px;
  width: 50px;
  height: 50px;
  border:1px solid green;
  background: #f50057;
  animation: zoom-in-zoom-out 1s ease infinite;
}

@keyframes zoom-in-zoom-out {
  0% {
    transform: scale(1, 1);
  }
  50% {
    transform: scale(1.5, 1.5);
  }
  100% {
    transform: scale(1, 1);
  }
}
Comment

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 ;
}
Comment

PREVIOUS NEXT
Code Example
Css :: elementor vertical line 
Css :: css varianbes 
Css :: how to change logo size in wordpress 
Css :: Capitalise all first letters of words in a sentence with css 
Css :: css clip 
Css :: round image css 
Css :: css clamp 
Css :: nprogress css 
Css :: css for chrome only 
Css :: png image border css 
Css :: border css dashed 
Css :: background color in hex css 
Css :: bootstrap z-index 
Css :: uigradients 
Css :: fabric bring to front element top 
Css :: remove background from image 
Css :: all text in caps using css 
Css :: how to apply css when not on hover 
Css :: rainbow text shadow animation 
Css :: clear both css 
Css :: image align text align in center 
Css :: css basic template 
Css :: border css 
Css :: change color select arrow css cf7 
Css :: allfont cdn 
Css :: html and css websites 
Css :: media query in scss 
Css :: padding makes div overflow 
Css :: hover 
Css :: css icons library 
ADD CONTENT
Topic
Content
Source link
Name
7+3 =