viewport hight
This commit is contained in:
parent
dbd99b5bdf
commit
a2bb9f8898
1 changed files with 4 additions and 1 deletions
|
|
@ -12,6 +12,9 @@ body {
|
||||||
font-family: 'Roboto', sans-serif;
|
font-family: 'Roboto', sans-serif;
|
||||||
background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
|
background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
|
||||||
color: white;
|
color: white;
|
||||||
|
min-height: 100vh; /* 100% of the viewport's height */
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -51,7 +54,7 @@ nav a:active {
|
||||||
}
|
}
|
||||||
|
|
||||||
header, main, footer {
|
header, main, footer {
|
||||||
max-width: 1200px;
|
max-width: 800px;
|
||||||
margin: 20px auto;
|
margin: 20px auto;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
border: 1px solid white;
|
border: 1px solid white;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue