Set grid-area for a header.
This commit is contained in:
parent
50e9f3470e
commit
0e1b41b057
@ -6,11 +6,14 @@ form {
|
|||||||
display: grid;
|
display: grid;
|
||||||
gap: .5rem;
|
gap: .5rem;
|
||||||
grid-template-areas:
|
grid-template-areas:
|
||||||
|
"h h"
|
||||||
"m m"
|
"m m"
|
||||||
"e d";
|
"e d";
|
||||||
grid-template-columns: 1fr 1fr;
|
grid-template-columns: 1fr 1fr;
|
||||||
width: 100%; }
|
width: 100%; }
|
||||||
|
|
||||||
|
form header { grid-area: 'h'; }
|
||||||
|
|
||||||
textarea {
|
textarea {
|
||||||
background-color: var(--background-color);
|
background-color: var(--background-color);
|
||||||
border: none;
|
border: none;
|
||||||
|
Loading…
Reference in New Issue
Block a user