Improving Performance On CSS Transitions
I made a hover animation via CSS however it is very unoptimised, when i have a background behind it crawls to a halt. Its unbearably slow and i want to retain 99% of animation (including glows, scaling, backgroud animations and so on) and the this pattern background behind the cards(most likely due to the drop shadow),
Also the JSX for the cards is:
I also tried to use AnimeJS just in case i can improve the performance however it wasn't executing the stuff i wanted it todo
4 Replies
here is a comparession between
without the paper background and with
also sorry for no auto highlightting on the file
also the reason i wanna keep it is because its a specific style im aiming for
one idea is to make a seperate element that acts as the glow
i found 2 ways to skyrocket the performance
its way more optimised compared to the previous things