Add will-change utilities (#5448)

Co-Authored-By: Adam Wathan <4323180+adamwathan@users.noreply.github.com>
This commit is contained in:
Jonathan Reinink 2021-09-08 14:50:31 -04:00 • committed by GitHub
parent eb3fe8fe27
commit b04dab6be6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 27 additions and 0 deletions

View file

@ -822,6 +822,12 @@
.ease-in-out {
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.will-change-scroll {
will-change: scroll-position;
}
.will-change-transform {
will-change: transform;
}
.content-none {
content: none;
}