make background responsive

This commit is contained in:
Kazhnuz 2018-10-15 11:42:16 +02:00
parent 477fc9f49e
commit 0a45e899ad
2 changed files with 12 additions and 0 deletions

View file

@ -3,6 +3,11 @@ body {
background: #666 url("../img/background.png"); background: #666 url("../img/background.png");
padding: 30px; } padding: 30px; }
@media (max-width: 767.98px) {
body {
background: none;
padding: 0; } }
#wrapper { #wrapper {
background-color: #FFF; } background-color: #FFF; }

View file

@ -30,6 +30,13 @@ body {
padding: 30px; padding: 30px;
} }
@media (max-width: 767.98px) {
body {
background: none;
padding: 0;
}
}
#wrapper { #wrapper {
background-color: #FFF background-color: #FFF
} }