A Pen by Corey Elliott on CodePen.
Created
August 25, 2015 19:34
-
-
Save ellcorey/b2590963bd2f797504e0 to your computer and use it in GitHub Desktop.
jPgepx
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"> | |
<div class="left-col"> | |
</div> | |
<div class="right-col"> | |
</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
.container { | |
max-width: 960px; | |
min-width: 90%; | |
padding: 20px; | |
margin: 0 auto; | |
background-color: #cccccc; | |
box sizing: border box; | |
overflow: hidden; | |
} | |
.left-col { | |
width: 50%; | |
height: 200px; | |
float: left; | |
background-color: #2B7F7B; | |
} | |
.right-col { | |
width: 50%; | |
height: 200px; | |
float: right; | |
background-color: #07CCC1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment