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

方法一、css(不推荐)

复制内容到剪贴板

代码:

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

方法二、js

复制内容到剪贴板

代码:

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

相关文章: