- index.html
- style.css
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>The vertical row of icons</title>
<link href="course.css" rel="stylesheet">
<link href="style.css" rel="stylesheet">
</head>
<body class="subtle">
<div class="post">
<section>
<h1>A Day in the Life of a Cat</h1>
<p>Muffin woke on up in his cat bed very early that morning. The day promised to be eventful.</p>
<p>Due to this, he decided to work out on his chin-up bar.</p>
<p>The cat eventually tired himself out exercising, and he decided to relax a bit and watch TV.</p>
</section>
<aside>
<a href="#" class="soc-icon soc-icon-fb">fb</a>
<a href="#" class="soc-icon soc-icon-tw">tw</a>
<a href="#" class="soc-icon soc-icon-yo">yo</a>
</aside>
</div>
</body>
</html>
CSS
.post {
}
.post aside {
}
You’ve gone to a different page
Goalscompleted
0
- Assign a flexbox layout to the
.post
block, - and then assign the sequence number of
-1
to the flex item foraside
inside.post
.
Comments