Created
July 8, 2013 18:58
-
-
Save matthewpennell/5951471 to your computer and use it in GitHub Desktop.
Creating column layouts with CSS3
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
#content { | |
-webkit-column-count: 2; | |
-moz-column-count: 2; | |
column-count: 2; | |
-webkit-column-gap: 50px; | |
-moz-column-gap: 50px; | |
column-gap: 50px; | |
-webkit-column-rule: 1px solid #ccc; | |
-moz-column-rule: 1px solid #ccc; | |
column-rule: 1px solid #ccc; | |
} | |
#content h2 { | |
-webkit-column-span: all; | |
-moz-column-span: all; | |
column-span: all; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment