Фикс футера, теперь на компе и телефоне прижато к низу

This commit is contained in:
Данил 2024-09-22 18:34:23 +03:00
parent 691b13efeb
commit b0fa432fee

View file

@ -84,6 +84,23 @@ body {
} }
footer p{
word-wrap: break-word;
text-align: center;
}
footer a {
color: white
}
@media (min-width: 768px) {
.desc {
font-size: 20px;
}
}
@media (max-width: 768px) {
.footer-wrapper { .footer-wrapper {
position: relative; position: relative;
min-height: 100%; min-height: 100%;
@ -97,21 +114,6 @@ footer {
left: 0; left: 0;
bottom: 0; bottom: 0;
} }
footer p{
word-wrap: break-word;
text-align: center;
}
footer a:visited {
color: white
}
@media (min-width: 768px) {
.desc {
font-size: 20px;
}
} }
@media (min-width: 1200px) { @media (min-width: 1200px) {
@ -125,12 +127,8 @@ footer a:visited {
gap: 200px; gap: 200px;
} }
.footer-wrapper {
position: relative;
min-height: 100%;
}
footer { footer {
flex: 0 0 auto;
width: 100%; width: 100%;
background: rgba(0, 0, 0, 0.39); background: rgba(0, 0, 0, 0.39);
position: absolute; position: absolute;