div
div
div
.long
div
Ehren Murdick
@why_combinator
github.com/ehrenmurdick
.content {
display: grid;
grid-template-columns: 120px auto 120px;
}
.content {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
}
.long {
grid-column: span 2;
}
.content {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
}
.tall {
grid-row: span 2;
}
.content {
display: grid;
grid-template-columns: repeat(4, 1fr);
}
.wide {
grid-column-start: 1;
grid-column-end: -1;
}
.not-as-wide {
grid-column: 1 / 4;
}
.content {
display: grid;
grid-template-columns: 80px [st] 1fr 1fr [en] 80px;
}
.use-name {
grid-column: st / en;
}
.content {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-gap: 30px;
}
.both {
grid-column: span 2;
display: flex;
align-items: center;
justify-content: left;
}
.content {
grid-template-rows: 30px;
grid-auto-rows: 60px;
}
.content {
grid-template-rows: 30px auto 30px;
grid-template-columns: 1fr 4fr;
grid-template-areas:
"header header"
"nav body"
"footer footer";
}
.header {
grid-area: header;
}