Least intensive way to style element using Javascript

前端 未结 0 1175
傲寒
傲寒 2021-01-20 13:28

Just curious if anyone knows if adding a class to an element via .classList.add() is faster/less resource intensive than simply styling the element directly in javascript us

相关标签:
回答
  • 消灭零回复
提交回复
热议问题