Computer scienceFrontendCSSBasic propertiesWorking with Text

Vertical-align

Math

Report a typo

Let's do some math.

Using the percentage value of the vertical-align property, make the bottom side of the air balloon 40 pixels below the baseline of the text, considering the line height is 200px.

Think about how you can use a percentage value in vertical-align property in relation to the line height. Consider that a percentage value of 100% would align with the baseline, and adjust accordingly.
Write HTML and CSS code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<p>Please, give me back my baloon <img class="baloon" src="https://clck.ru/WTgsa"></p>
</div>
</body>
</html>

Completed 0 of 1
Baloon returned to the owner
___

Create a free account to access the full topic