Last active
September 8, 2016 17:49
-
-
Save aarongustafson/de9483a9f4b3fdebde3c74d0647a65b2 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
@media (min-width: 20em) { | |
.gallery__item { | |
float: left; | |
width: 45%; | |
width: calc( 50% - 0.69rem); | |
margin: 1.375rem 0 0 1.375rem; | |
flex: 0 0 calc( 50% - 0.69rem); | |
} | |
} | |
@media (min-width: 20em) and (max-width: 29.9375em) { | |
.gallery__item:nth-child(odd) { | |
margin-left: 0; | |
clear: left; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment