- index.html
- style.css
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<title>The maze</title>
<meta charset="utf-8">
<link rel="stylesheet" href="world.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="world caveworld">
<div class="wizard levitate"></div>
<div class="wall wall-1"></div>
<div class="wall wall-2"></div>
<div class="wall wall-3"></div>
<div class="wall wall-4"></div>
<div class="wall wall-5"></div>
</div>
</body>
</html>
CSS
.wizard {
top: 344px;
left: 10px;
}
.world {
min-width: 570px;
}
You’ve gone to a different page
Goalscompleted
0
Move the magician using transform: translate
to the exit of the maze by moving him between the following key points in sequence:
- To the first shadow.
- To the second shadow.
- And to the third shadow.
Comments