diff options
Diffstat (limited to 'examples/animation.html')
-rw-r--r-- | examples/animation.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/animation.html b/examples/animation.html index 2dbefd6..3a09499 100644 --- a/examples/animation.html +++ b/examples/animation.html @@ -14,6 +14,8 @@ height: 100px; width: 100px; position: absolute; + /*20% fps boost as described here https://developers.google.com/web/fundamentals/performance/rendering/simplify-paint-complexity-and-reduce-paint-areas/ */ + will-change: transform; } button.active { |