- index.html
- style.css
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>flex-basis: 100% and flex-wrap</title>
<link href="course.css" rel="stylesheet">
<link href="style.css" rel="stylesheet">
</head>
<body class="world">
<div class="spot">
<div class="skate racoon-pink"></div>
<div class="skate racoon-gray"></div>
<div class="skate racoon-orange"></div>
</div>
</body>
</html>
CSS
.spot {
display: flex;
}
.skate {
}
You’ve gone to a different page
Goalscompleted
0
- Set the basic size of the flex item for all skateboards to
100%
, - and then configure flex items to overflow onto a new line for the
.spot
clearing.
Comments