Add parallax and reveal effects + performances on transitions
This commit is contained in:
@@ -45,6 +45,7 @@
|
||||
line-height: 0.85;
|
||||
transform: translate3d(0, -190%, 0);
|
||||
transition: transform 250ms $ease-cubic;
|
||||
will-change: transform;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
background-color: $color-primary;
|
||||
display: block;
|
||||
z-index: 3;
|
||||
transition: all 150ms ease-in-out;
|
||||
transition: opacity 150ms $ease-inout;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user