- index.html
- style.css
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<title>Launching a factory, step 1</title>
<meta charset="utf-8">
<link rel="stylesheet" href="epoch3.css">
<link rel="stylesheet" href="style.css">
</head>
<body class="scientific-world">
<div>
<div class="plane"></div>
<div class="antenna"></div>
</div>
</body>
</html>
CSS
@keyframes move-plane {
to {
transform: translateX(-1000px);
}
}
@keyframes move-antenna {
to {
transform: rotate(-60deg);
}
}
You’ve gone to a different page
Goalscompleted
0
- Assign a
move-plane
animation to the plane.plane
with a duration of10s
, - then assign the
move-antenna
animation to the satellite dish.antenna
with a duration of2s
, a playback delay of2s
, and keep the animation state after playback.
Comments