Problem with height on Safari

This commit is contained in:
Marcel Petráň 2019-04-24 12:44:00 +02:00
parent eee249976b
commit 3a5eadb765

View File

@ -43,7 +43,7 @@ p.article{
font-size: 2.5em; font-size: 2.5em;
} }
section.home { section.home {
min-height: calc(100vh); min-height: calc(100vh); /* Bude problem v safari, kde to musim odjebat od nav baru */
background-image: url('../img/logo.png'); background-image: url('../img/logo.png');
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
@ -52,7 +52,7 @@ section.home {
img.arrow-down{ img.arrow-down{
width: 3.5em; width: 3.5em;
position: absolute; position: absolute;
top: calc(100vh - 5em); top: calc(100vh - 5em); /* Bude problem v safari, kde to musim odjebat od nav baru */
left: calc(50% - 1.75em); left: calc(50% - 1.75em);
animation: arrow 3s infinite; animation: arrow 3s infinite;
} }
@ -324,6 +324,7 @@ div.-right{
.active li:nth-of-type(6){ .active li:nth-of-type(6){
animation: menu-item .25s forwards .60s ease-in-out; animation: menu-item .25s forwards .60s ease-in-out;
} }
/* <--- ANIMATIONS ---> */ /* <--- ANIMATIONS ---> */
@keyframes slide-menu { @keyframes slide-menu {
from{ from{