JS向页面添加样式表,全局覆盖样式
js 向页面添加样式表,全局覆盖样式
1 |
|
参考: https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet/insertRule
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 Coder Long!
评论
1 |
|
参考: https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet/insertRule