Optimize parallax

This commit is contained in:
Schmelczer András 2019-12-25 22:30:44 +01:00
parent 5a87d2db71
commit da9d0a1136
15 changed files with 135 additions and 207 deletions

View file

@ -5,19 +5,15 @@
position: absolute;
left: 0;
top: 0;
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
margin-top: -20vh;
width: 400%;
z-index: -1;
transform-style: preserve-3d;
overflow: hidden;
div {
border-radius: 10000px;
margin: 10vh 10vw;
&.gap {
visibility: hidden;
}
position: absolute;
left: 0;
top: 0;
width: 100px;
}
}