Created
March 20, 2016 10:01
-
-
Save chuck0523/abb6fdc10b786d856f22 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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