Answers for "what is the use of @keyframes in css"

CSS
7

@keyframes

p {
  animation-duration: 25s;
  animation-name: slidein;
}

@keyframes slidein {
  from {
    margin-left: 100%;
    width: 300%;
  }
  75% {
    font-size: 300%;
    margin-left: 25%;
    width: 150%;
  }

  to {
    margin-left: 0%;
    width: 100%;
  }
}
Posted by: Guest on September-03-2020
1

css key frame

div {
  width: 100px;
  height: 100px;
  background: red;
  position: relative;
  animation: mymove 5s infinite;
}

@keyframes mymove {
  0% {top: 0px;}
  50% {top: 50px;}
  75% {top: 40px;}
  100%{top: 0px;}
}
Posted by: Guest on March-15-2021
12

css keyframes

@keyframes mymove {
  from {top: 0px;}
  to {top: 200px;}
}
Posted by: Guest on February-10-2020

Code answers related to "what is the use of @keyframes in css"

Browse Popular Code Answers by Language