#page {
display: grid;
width: 100%;
height: 250px;
grid-template-areas: "head head"
"nav main"
"nav foot";
grid-template-rows: 50px 1fr 30px;
grid-template-columns: 150px 1fr;
}
#page > header {
grid-area: head;
background-color: #8ca0ff;
}
#page > nav {
grid-area: nav;
background-color: #ffa08c;
}
#page > main {
grid-area: main;
background-color: #ffff64;
}
#page > footer {
grid-area: foot;
background-color: #8cffa0;
}
wrapper {
display: grid;
grid-template-columns: repeat(9, 1fr);
grid-auto-rows: minmax(100px, auto);
grid-template-areas:
"hd hd hd hd hd hd hd hd hd"
"sd sd sd main main main main main main"
"ft ft ft ft ft ft ft ft ft";
}
#page {
display: grid;
width: 100%;
height: 250px;
grid-template-areas: "head head"
"nav main"
"nav foot";
}
#page > header {
grid-area: head;
background-color: #8ca0ff;
}
#page > nav {
grid-area: nav;
background-color: #ffa08c;
}
#page > main {
grid-area: main;
background-color: #ffff64;
}
#page > footer {
grid-area: foot;
background-color: #8cffa0;
}
/* Keyword value */
grid-template-areas: none;
/* <string> values */
grid-template-areas: "a b";
grid-template-areas: "a b b"
"a c d";
/* Global values */
grid-template-areas: inherit;
grid-template-areas: initial;
grid-template-areas: unset;
Code Example |
---|
Css :: css width percentage |
Css :: scroll div when page scroll |
Css :: control one swiper with other |
Css :: vue scoped css child component |
Css :: css ripple effect |
Css :: image transparent |
Css :: display css |
Css :: chai assert |
Css :: liste commandes disponibles linux |
Css :: letter spacing text |
Css :: media query min and max width |
Css :: css3 ripple loop |
Css :: disable on print margin html |
Css :: CSS :hover Selector |
Css :: can a div change an item in another div css |
Css :: #00af8f rgba gradient |
Css :: Loop Over Array of Objects and Combine them if they have similar keys |
Css :: fluorescent blue hex code |
Css :: css 100vh minus header |
Css :: var in css |
Css :: flex box |
Css :: css clamp vs media queries |
Css :: react datepicker css not working |
Css :: best css framework |
Css :: css animate absolute position |
Css :: linear gradient css |
Css :: jquery pagination css html |
Css :: css calc margin-top based on height? |
Css :: css style link |
Css :: hoq to give paragraph color css |