- index.html
 - style.css
 
HTML
<!DOCTYPE html>
<html lang="en">
  <head>
    <title>Complex animation, step 2</title>
    <meta charset="utf-8">
    <link rel="stylesheet" href="epoch1.css">
    <link rel="stylesheet" href="style.css">
  </head>
  <body class="ancient">
    <div class="lift-bottom">
      <span class="stone-wheel"></span>
    </div>
  </body>
</html>
CSS
@keyframes rotate {
  50% {
    transform: rotate(360deg);
  }
}
.stone-wheel {
  animation-name: rotate;
  animation-duration: 3s;
}
You’ve gone to a different page
Goalscompleted
0
- Create an animation called 
moveand containing the following keyframes:50%with abottom: 0pxproperty;100%with abottom: -50pxproperty.
 - Add a second 
moveanimation with a duration of6sto the.stone-wheelblock. 
Comments