- index.html
- style.css
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<title>Landing, step 1</title>
<meta charset="utf-8">
<link rel="stylesheet" href="epoch5.css">
<link rel="stylesheet" href="style.css">
</head>
<body class="cosmic">
<div class="moon"></div>
<div class="rocket arrival">
<span class="fuel"></span>
</div>
</body>
</html>
CSS
You’ve gone to a different page
Goalscompleted
0
- Create an animation
fly
containing a frameto
with atransform: translate(240px, 260px) rotate(-30deg)
transformation, - then assign this animation to the rocket
.rocket
:1.5s
in duration,ease-out
type, keep the state after animation.
Comments