Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经设置了这个 jsFiddle 来说明这个问题。我正在使用 CSS 伪元素来创建一个指针,它偏移了父元素。
http://jsfiddle.net/fLTFP/
它在 FireFox 和 Webkit 浏览器以及 IE 9 中运行良好,但在 IE 8 中指针被剪裁。
http://www.w3schools.com/cssref/sel_after.asp
并注意“注意:要在 IE8 中工作: 必须声明<!DOCTYPE> 。”
虽然它在 ie8 中对我有用
这个问题与filter声明有关。它正在创建渐变,但正在改变 IE 呈现元素的方式。删除它固定剪辑。
filter