Created
July 22, 2015 11:58
-
-
Save oterox/b0f8f86e467a144a9ae8 to your computer and use it in GitHub Desktop.
css columns
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
/* Column Classes | |
------------------------------------------------------------ */ | |
.five-sixths, | |
.four-fifths, | |
.four-sixths, | |
.one-fifth, | |
.one-fourth, | |
.one-half, | |
.one-sixth, | |
.one-third, | |
.three-fifths, | |
.three-fourths, | |
.three-sixths, | |
.two-fifths, | |
.two-fourths, | |
.two-sixths, | |
.two-thirds { | |
float: left; | |
margin: 0 0 20px 3%; | |
} | |
.one-half, | |
.three-sixths, | |
.two-fourths { | |
width: 48%; | |
} | |
.one-third, | |
.two-sixths { | |
width: 31%; | |
} | |
.four-sixths, | |
.two-thirds { | |
width: 65%; | |
} | |
.one-fourth { | |
width: 22.5%; | |
} | |
.three-fourths { | |
width: 73.5%; | |
} | |
.one-fifth { | |
width: 17.4%; | |
} | |
.two-fifths { | |
width: 37.8%; | |
} | |
.three-fifths { | |
width: 58.2%; | |
} | |
.four-fifths { | |
width: 78.6%; | |
} | |
.one-sixth { | |
width: 14%; | |
} | |
.five-sixths { | |
width: 82%; | |
} | |
.first { | |
clear: both; | |
margin-left: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment