animation


PHOTO EMBED

Tue Dec 08 2020 10:40:18 GMT+0000 (UTC)

Saved by @goranbloncar #css

p {
  animation: translate-down 1s infinite alternate linear;
}
@keyframes margin-down {
  from {
    margin-top: 0;
  }
  to {
    margin-top: 30px;
  }
}
@keyframes margin-down {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(300px);
  }
}
content_copyCOPY

animation: margin-down is slowing down app

https://www.youtube.com/watch?v=4PStxeSIL9I&ab_channel=WebDevSimplified