fix(css): apply workaround for chrome bug (#146)

This commit is contained in:
Joe Haddad
2021-01-06 15:01:07 -05:00
committed by GitHub
parent eedfdc0a10
commit b6f80b7245
3 changed files with 41 additions and 1 deletions

12
assets/chrome-bug.css Normal file
View File

@@ -0,0 +1,12 @@
/**
* Chrome has a bug with transitions on load since 2012!
*
* To prevent a "pop" of content, you have to disable all transitions until
* the page is done loading.
*
* https://lab.laukstein.com/bug/input
* https://twitter.com/timer150/status/1345217126680899584
*/
body.loading * {
transition: none !important;
}