摘要:
cssText是什么? 简单来说是设置元素的style属性值,比如 ele.style.cssText = 'display: block'; cssText的使用场景 有时我们需要使用原生js写css样式,比如 obj.style.width = '100px'; obj.style.height 阅读全文
posted @ 2020-07-16 18:10
你不知道的巨蟹
阅读(733)
评论(0)
推荐(0)