- index.html
- style.css
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Flex items distribution, justify-content</title>
<link href="course.css" rel="stylesheet">
<link href="style.css" rel="stylesheet">
</head>
<body class="house">
<div class="room">
<div class="rug rudolf"></div>
<div class="rug muffin"></div>
</div>
</body>
</html>
CSS
.room {
display: flex;
flex-direction: row;
}
You’ve gone to a different page
Goalscompleted
0
- Set flex items to be arranged along the center of the main axis for the
.room
block.
Comments