在JS中元素属性的两种操作方法及适用情况

一、obj.style.xxx
二、obj.style[ ’ xxx ‘]

猜你喜欢

转载自blog.csdn.net/qq_41880978/article/details/82503280