Created
April 26, 2016 11:10
-
-
Save bastianallgeier/f3f01941324417f349304b96a98f937f to your computer and use it in GitHub Desktop.
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
/* Grid */ | |
.grid { | |
font-size: 0; | |
} | |
.grid > .column { | |
position: relative; | |
display: inline-block; | |
width: 100%; | |
font-size: 1rem; | |
vertical-align: top; | |
} | |
.grid > .column img { | |
width: 100%; | |
} | |
/* Grid Gutter Sizes */ | |
.grid-gutter-1 { | |
margin-left: -1.5rem; | |
} | |
.grid-gutter-1 > .column { | |
padding-left: 1.5rem; | |
} | |
.grid-gutter-2 { | |
margin-left: -3rem; | |
} | |
.grid-gutter-2 > .column { | |
padding-left: 3rem; | |
} |
Author
bastianallgeier
commented
Apr 26, 2016
•
<div class="grid grid-gutter-1">
<div class="column">
</div>
<div class="column">
</div>
</div>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment