diff --git a/index.html b/index.html index b05f0d9..8b358cd 100644 --- a/index.html +++ b/index.html @@ -33,20 +33,16 @@ text-align: center; position: fixed; left: calc(50% - 225px); - top: 1064px; + top: calc(100vh - 200px); + transition: top 0.25s ease-in-out; } - @media only screen and (min-device-width: 480px){ + @media (min-device-width: 340px) and (orientation: portrait) { .content { - top: 1024px; + top: calc(100vh - 340px); + left: calc(50% - 200px); } } - @media only screen and (min-device-width: 768px){ - .content { - top: 1064px; - } - } -