animation infinite cpu!!!

Why css animation infinite take all cpu 100% When remove it the cpu will be free just asking to know and what best practices to use css animation
6 Replies
b1mind
b1mind•2y ago
do you have hardware acceleration on? if its off animations will not use the gpu. in your browser settings*
b1mind
b1mind•2y ago
b1mind
b1mind•2y ago
Also if you put it in a codepen we will be able to debug much easier 😄 Like if you are animating height/width its really taxing (and typically not recommended)
M@HeR
M@HeR•2y ago
I have gpu acceleration
Jochem
Jochem•2y ago
then without a codepen or something similar demonstrating the issue, there's nothing we can really do basically you're saying "my car uses too much gas" to a mechanic without bringing your car, or even telling them what model and year it is
M@HeR
M@HeR•2y ago
I will make sample Inchallah
Want results from more Discord servers?
Add your server