Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR 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);
  }
}
Source by www.30secondsofcode.org #
 
PREVIOUS NEXT
Tagged: #zoom #animations #css
ADD COMMENT
Topic
Name
5+9 =