Position Footer

This commit is contained in:
Fred Boniface 2022-10-20 20:37:25 +01:00
parent 61d61ea25e
commit 915c61f146
1 changed files with 10 additions and 2 deletions

View File

@ -107,15 +107,23 @@ body {
width: 90%; width: 90%;
margin: auto; margin: auto;
margin-top: 20px; margin-top: 20px;
margin-bottom: 40px;
color: azure; color: azure;
} }
/* FOOTER */ /* FOOTER */
footer { footer {
position: absolute;
width: 100%; width: 100%;
background-color: darkslategrey; background-color: darkslategrey;
text-align: center; height: 30px;
} }
@media screen and (min-width: 800px) and (min-height: 700px) { footer p {
padding: 0;
margin-top: 6px;
text-align: center;
color: azure;
}
@media screen and (min-height: 600px) {
footer { footer {
position: fixed; position: fixed;
bottom: 0; bottom: 0;