Answers for "css animation all properties"

CSS
0

animation properties css

function party(){
  document.body.style.animation = 'party 2.5s infinite linear';
}
Posted by: Guest on May-13-2021
0

animation properties css

body{
background-color: purple;
}

@keyframes party{
    0% {background-color: red;}
    10% {background-color: orange;}
    20% {background-color: yellow;}
    30% {background-color: green;}
    40% {background-color: blue;}
    50% {background-color: purple;} 
}

@-webkit-keyframes party{
    0% {background-color: red;}
    10% {background-color: orange;}
    20% {background-color: yellow;}
    30% {background-color: green;}
    40% {background-color: blue;}
    50% {background-color: purple;} 
}
Posted by: Guest on May-13-2021
0

animation properties css

function party(){
  document.body.style.animation = 'party 2.5s infinite linear';
}
Posted by: Guest on May-13-2021
-1

animation properties css

<html>
  <body id="bd">
    <button onclick="party()">Press Me!</button>
  </body>


</html>
Posted by: Guest on May-13-2021
0

animation properties css

body{
background-color: purple;
}

@keyframes party{
    0% {background-color: red;}
    10% {background-color: orange;}
    20% {background-color: yellow;}
    30% {background-color: green;}
    40% {background-color: blue;}
    50% {background-color: purple;} 
}

@-webkit-keyframes party{
    0% {background-color: red;}
    10% {background-color: orange;}
    20% {background-color: yellow;}
    30% {background-color: green;}
    40% {background-color: blue;}
    50% {background-color: purple;} 
}
Posted by: Guest on May-13-2021
-1

animation properties css

<html>
  <body id="bd">
    <button onclick="party()">Press Me!</button>
  </body>


</html>
Posted by: Guest on May-13-2021

Browse Popular Code Answers by Language