Skip to content

Instantly share code, notes, and snippets.

@usainicola
Created November 12, 2018 15:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save usainicola/dc43411d20327f4bed48488fc0852079 to your computer and use it in GitHub Desktop.
Save usainicola/dc43411d20327f4bed48488fc0852079 to your computer and use it in GitHub Desktop.
grid row
.row {
display: grid;
grid-gap: var(--s11);
grid-template-columns: repeat(auto-fit, minmax(var(--s24), 1fr));
}
@media screen and (max-width: 600px) {
.row {
grid-template-columns: none;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment