css在js里面怎么连写

css在js里面怎么连写

要在JS中修改样式,可以这样:var dom = document.getElementById('abc')dom.style.padding = '8px'  必须提供字符串,数字+单位,不
html-css100