📜  添加样式 javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:22.646000             🧑  作者: Mango

代码示例4
element.style.backgroundColor = "red";   // set the background color of an element to red