Skip to content

Instantly share code, notes, and snippets.

@MrSunshyne
Created August 30, 2017 16:54
Show Gist options
  • Save MrSunshyne/1fb7a19c30651f5c07476f00004ce1c1 to your computer and use it in GitHub Desktop.
Save MrSunshyne/1fb7a19c30651f5c07476f00004ce1c1 to your computer and use it in GitHub Desktop.
Grid Template Area Step 1
.thegrid {
display:grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
grid-template-rows: repeat(3, minmax(150px,auto));
grid-gap: var(--gap);
grid-template-areas: "home-primary home-primary home-primary home-primary" "home-secondary home-secondary home-secondary home-secondary" "pov autres autres ad2";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment