diff --git a/begushiybashkir/src/index.html b/begushiybashkir/src/index.html index 7049794..409506b 100644 --- a/begushiybashkir/src/index.html +++ b/begushiybashkir/src/index.html @@ -15,7 +15,7 @@ BegushiyBashkirClub'sPhoto diff --git a/begushiybashkir/src/styles/mobileStyle.css b/begushiybashkir/src/styles/mobileStyle.css index dfb3fa9..c9c8463 100644 --- a/begushiybashkir/src/styles/mobileStyle.css +++ b/begushiybashkir/src/styles/mobileStyle.css @@ -1,4 +1,7 @@ /* Мобильная версия (телефоны) */ @media only screen and (max-width: 600px) { - + body { + margin: 0; + padding: 0; + } } \ No newline at end of file diff --git a/begushiybashkir/src/styles/style.css b/begushiybashkir/src/styles/style.css index 2b4aceb..1f39808 100644 --- a/begushiybashkir/src/styles/style.css +++ b/begushiybashkir/src/styles/style.css @@ -10,6 +10,7 @@ html { justify-content: center; align-items: center; flex-direction: column; + min-width: 320px; } body { @@ -28,15 +29,16 @@ header { .header_img { position: relative; width: 100%; + min-height: 200px; height: auto; } .text_card { position: absolute; /* накладываем элемент поверх */ - bottom: 0; top: 0; left: 0; - right: 0; + width: 100%; + min-height: 200px; background-color: rgba(0, 255, 0, 0.5); }