Answers for "how to add animated css to html"

CSS
1

animated website using html and css

You can learn how to create animated website here:
https://youtu.be/y0kCvnQ4Ga8
Posted by: Guest on April-26-2021
2

how to animate in css

<style>
.myclass{
  background:red; /*DEFAULT VALUE*/
  animation:colorchange 1s; /*ANIMATION PROPERTY [animation name, time duration]*/
}
@keyframes colorchange{
  from{background:red} /*DEFAULT VALUE*/
  to{background:blue} /*CHANGING VALUE*/
}
</style>
<body>
<div class="myclass"> ELEMENT </div>
</body>
Posted by: Guest on March-30-2021

Browse Popular Code Answers by Language