Template
feat: Added base layout
This commit is contained in:
1 parent
91ee0abc15
commit
d267d1c6c1
5 files changed
+34
-3
No files matched your search
@@ -0,0 +1,27 @@
|
||||
html,
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
body {
|
||||
display: grid;
|
||||
grid-template-rows: 2rem 1fr 1.5rem;
|
||||
}
|
||||
|
||||
header {
|
||||
background-color: lightcoral;
|
||||
}
|
||||
|
||||
main {
|
||||
background-color: lightgreen;
|
||||
padding: 0 1rem;
|
||||
}
|
||||
|
||||
footer {
|
||||
background-color: lightskyblue;
|
||||
display: grid;
|
||||
place-items: center end;
|
||||
padding: 0 0.5rem;
|
||||
}
|
||||
Reference in new issue
Block a user