Post

Jakub Krehel
Jakub Krehel@jakubkrehel·
If elements ever shift unexpectedly by a few pixels during an animation and you can’t figure out why, try using the `will-change` CSS property. It promotes the element to its own GPU compositing layer. Use it sparingly though, since overusing it can hurt performance.
English
24
49
1.6K
134.1K
Codedgar
Codedgar@codedgar_dev·
@jakubkrehel Wdym overusing it affects performance? iirc anything that moves or changes should have it
English
0
0
0
683
Paylaş