Last active
August 29, 2015 14:11
-
-
Save jsheffers/1de2a314cbe4db2762f9 to your computer and use it in GitHub Desktop.
MegaDrop CSS
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
.col1, .col2, .col3, .col4, .col5, .col6 { margin: 10px 0; padding: 0 10px; float: left; } | |
/* 1 Column */ | |
.container-1 { width: 170px; } | |
.container-1 .col1 { width: 100%; } | |
/* 2 Columns */ | |
.container-2 { width: 270px; } | |
.container-2 .col1 { width: 50%; } | |
.container-2 .col2 { width: 100%; } | |
/* 3 Columns */ | |
.container-3 { width: 400px; } | |
.container-3 .col1 { width: 33.33%; } | |
.container-3 .col2 { width: 66.66%; } | |
.container-3 .col3 { width: 100%; } | |
/* 4 Columns */ | |
.container-4 { width: 500px; } | |
.container-4 .col1 { width: 25%; } | |
.container-4 .col2 { width: 50%; } | |
.container-4 .col3 { width: 75%; } | |
.container-4 .col4 { width: 100%; } | |
/* 5 Column */ | |
.container-5 { width: 600px; } | |
.container-5 .col1 { width: 20%; } | |
.container-5 .col2 { width: 40% } | |
.container-5 .col3 { width: 60% } | |
.container-5 .col4 { width: 80% } | |
.container-5 .col5 { width: 100% } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment