- index.html
- style.css
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<title>Increasing and decreasing the size</title>
<meta charset="utf-8">
<link rel="stylesheet" href="world.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="world">
<div class="wizard">
</div>
<div class="hippo">
</div>
<div class="mouse">
</div>
</div>
</body>
</html>
CSS
.hippo {
}
.mouse {
}
.wizard {
top: 244px;
left: 40px;
}
You’ve gone to a different page
Goalscompleted
0
- Reduce the dimensions of the
.hippo
hippo figure by adding thetransform: scale(0.25)
transform to it. - Increase the size of the
.mouse
mouse threefold:transform: scale(3)
.
Comments