有关 IE11

  • IE10/IE11 中 99% 的 CSS3 属性不需要写 -ms- 前缀;

  • IE9/IE10/IE11 默认开启 GPU 加速,效果比同期 Chrome 版本(如 35)流畅;

  • IE11 的字体渲染效果很棒,无锯齿,Chrome 下却很明显;

  • 设置 <input placeholder /> 样式:

:-ms-input-placeholder{
	color: #f00;
}
  • 不建议在 @media 中写 @keyframes:```css
    @media all and (max- XXXpx) {
    /* 这种写法在 IE11 上似乎不起作用,待验证 /
    @keyframes animationName{
    /
    todo */
    }
    }
参考:http://css-tricks.com/forums/topic/ie10-css-animation-issue/#post-114488

如果非要这么写,可以用这个: ```css
@-ms-viewport {max- 800px; }
	@keyframes fadeIn{
		0%{opacity:0;}
		100%{opacity:1;}
	}
}
  • 动画元素抖动时,可以试试这个:
transform:translateZ(0);
原文地址:https://www.cnblogs.com/linr/p/3643481.html