Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<style>
#flex {
display: flex;
flex-wrap: wrap;
width: 20px;
gap: 20px;
padding: 20px;
border: solid 3px;
}
div > div {
background: green;
width: 20px;
height: 20px;
}
</style>
<p>There should be 3 flex-lines.</p>
<div id="flex">
<div></div>
<div></div>
<div></div>
</div>