📜  添加样式对象 js - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:30.358000             🧑  作者: Mango

代码示例1
document.getElementById("myElement").style.cssText = "display: block; position: absolute";