📜  javascript 在属性后设置 css - Javascript 代码示例

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

代码示例1
/*Its Not possible to directly access pseudo-elements ":before|:after"
with Javascript because they're not part of the DOM. 

One workaround could be changing an elements class
to one that has different pseudo-elments or you could always refactor
to not use pseudo-elments */