- index.html
- style.css
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<title>The battle, part 3</title>
<meta charset="utf-8">
<link rel="stylesheet" href="world.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="world underworld">
<div class="wizard"></div>
<div class="hero"></div>
<div class="overlord"></div>
</div>
</body>
</html>
CSS
.wizard {
top: 244px;
left: 30px;
}
.hero {
}
.overlord {
}
.summon {
display: block;
}
.world {
min-width: 570px;
}
You’ve gone to a different page
Goalscompleted
0
- Summon the hero by adding the
summon
class to the.hero
block. - Increase the size of the hero
1.5
times using thescale
function, - and then move him forward by
100px
. - Knock
.overlord
on his back using thetransform: rotate
function.
Comments