I am working on a loading component and using this codepen as a reference
Check out here --> Code
The CPU usage hikes up as soon as I test this out. I tried to add these, as suggested on other posts but the animation stops,
transform: translateZ(0) or will-change: transform
Any suggestions