解决IE下图片作为背景时,有鼠标操作时的抖动问题

方法一、css(不推荐)

复制内容到剪贴板

代码:

1 html {
2   filter: expression(document.execCommand("BackgroundImageCache", false, true));
3 }

方法二、js

复制内容到剪贴板

代码:

try {
  document.execCommand('BackgroundImageCache'falsetrue);
catch(e) {}

相关文章:

  • 2022-01-27
  • 2021-09-08
  • 2021-11-20
  • 2021-06-04
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-14
  • 2022-12-23
  • 2021-08-28
相关资源
相似解决方案