Improving Performance

This commit is contained in:
2018-08-13 19:40:34 +10:00
parent 1ee3dee3c3
commit 550cf15e76
9 changed files with 67 additions and 7 deletions

View File

@@ -16,6 +16,7 @@ $o-element-scroll-fader--amount: 15%;
.o-element-scroll-fader {
opacity: 0;
transition: all $o-element-scroll-fader--speed $s-animation--ease-out;
will-change: transform;
$amt: $o-element-scroll-fader--amount;//Shorthand
&.from-top { @include t-translate-y(-$amt); }