Does any css styling effect canvas performance?[solved] | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Does any css styling effect canvas performance?[solved]

I was working on a canvas code, for making the ui beautiful i added some css and i realised that the performance was slow after adding the css! https://code.sololearn.com/WzNICzf6UQzc/?ref=app

5th Mar 2021, 2:50 AM
ACADEMIC
ACADEMIC - avatar
1 Answer
+ 1
I don't think it should matter, but if it does you can place an element behind it and style that one instead. That way the canvas stays pretty much unaltered.
5th Mar 2021, 2:43 PM
Ronald J. Tempel
Ronald J. Tempel - avatar