Skip to content

Instantly share code, notes, and snippets.

@aarongustafson
Last active September 8, 2016 17:49
Embed
What would you like to do?
@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