document.styleSheets[0].addRule('#' + node.key + '::after', 'height:' + fileNameDom.clientHeight + 'px !important'); // 设置伪元素样式

document.styleSheets[0].addRule('.className'或‘#ID’ +‘::after’,css样式字符串拼接).

相关文章:

  • 2021-12-05
  • 2022-12-23
  • 2021-12-25
  • 2021-12-05
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-22
相关资源
相似解决方案