- 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
summonclass to the.heroblock. - Increase the size of the hero
1.5times using thescalefunction, - and then move him forward by
100px. - Knock
.overlordon his back using thetransform: rotatefunction.
Comments