Consistent parallax size; Debugging /null requests, is Spotify the culprit?
This commit is contained in:
@ -3,16 +3,24 @@ $parallax: 'parallax';
|
||||
.#{$parallax} {
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
top: -10%;
|
||||
right: -10px;
|
||||
left: -10px;
|
||||
height: 110%;
|
||||
transform: translateZ(-50px) scale(2);
|
||||
transform-origin: bottom center;
|
||||
z-index: -1;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 100%;
|
||||
max-height: 80vh;
|
||||
transform: translateZ(-200px) scale(1.2);
|
||||
transform-origin: top center;
|
||||
z-index: -1;
|
||||
background-color: lighten(colour(dark_grey), 10%);
|
||||
|
||||
&__inner {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
&__image {
|
||||
@include animate(0.5s);
|
||||
position: absolute;
|
||||
|
||||
Reference in New Issue
Block a user