Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<!DOCTYPE html>
<html>
<head>
<title>flex-wrap</title>
<style type="text/css">
.container {
display: flex;
}
.box {
width: 200px;
height: 150px;
border: 1px solid #fff;
background-color: #acc;
text-align: center;
line-height: 150px;
}
</style>
</head>
<body>
<div class="container">
<div class="box">box</div>
<div class="box">box</div>
<div class="box">box</div>
<div class="box">box</div>
<div class="box">box</div>
<div class="box">box</div>
<div class="box">box</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment