#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 blur bg |
Css :: select dropdown icon change |
Css :: how to round the edges of a box html |
Css :: box shadow css |
Css :: css align bottom of container |
Css :: special custom scrollbar in scss |
Css :: css grid auto width |
Css :: clamp css |
Css :: rem vs em |
Css :: justify center wont wotk with max-width css |
Css :: decrease div size |
Css :: box model properties |
Css :: font face css |
Css :: css flex wrap space between rows |
Css :: ellipsis css |
Css :: position absolute horizontally center |
Css :: bootstrap cheat sheet |
Css :: css not |
Css :: css wrap |
Css :: what are types of positioning in css |
Css :: &:disabled not working sass |
Css :: How to use css on a react icon |
Css :: what does align items center do |
Css :: cursor not pointer |
Css :: reset div css |
Css :: have unordered list horizontal css |
Css :: css font families |
Css :: css floating div |
Css :: remove input border on focus |
Css :: link text underline css none |