Skip to content

Instantly share code, notes, and snippets.

@avuenja
Created September 26, 2021 13:13
Show Gist options
  • Save avuenja/c0f406390f9a27670b0eb10c97c41bde to your computer and use it in GitHub Desktop.
Save avuenja/c0f406390f9a27670b0eb10c97c41bde to your computer and use it in GitHub Desktop.
Auto responsive grid layout
.grid-layout{
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
grid-gap: 10px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment