A Pen by Matt Steele on CodePen.
Last active
August 29, 2015 14:03
-
-
Save mattdsteele/e019e30d7164fc8132b6 to your computer and use it in GitHub Desktop.
A Pen by Matt Steele.
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
<div class="container">Main Container @ 960px | |
<div class="row"> | |
<div class="column-4">A Column @ 320px</div> | |
<div class="column-4">Column @ 320px</div> | |
<div class="column-4">Column @ 320px</div> | |
</div> | |
</div> |
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
* { | |
box-sizing: border-box; | |
text-align: center; | |
padding-top: 30px; | |
} | |
.container { | |
margin: 0 auto; | |
width: 960px; | |
background: #ddd; | |
} | |
.row { | |
width: auto; | |
overflow: auto; | |
height: 400px; | |
} | |
.column-4 { | |
width: 320px; | |
height: 300px; | |
float: left; | |
background: #888; | |
padding-right: 30px; | |
border: 1px solid #fff; | |
margin: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment