The Best CSS Grid Snippet (3 lines of code!)

Tags: Snippets Drafts Code CSS [[Front End]]
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  grid-gap: 10px;
}