Gli*_*ire 10 html css internet-explorer visibility pseudo-element
我做了一个DIVwith visibility: hidden并附加了::before这个DIV 的伪元素visibility: visible.这在Firefox,Chrome和Safari中可以正常工作,但在Internet Explorer 10中,伪元素不会呈现.
请解释我是否完成了这个错误,或者这是否是Internet Explorer的问题.有没有解决方法(我们只能访问CSS,而不是源HTML)?
jia*_*ngc 11
过滤器不适用于IE中的伪元素.
阅读:
msdn
Other specified styling properties apply to the appearance of the inserted content, not to the element's content.
Run Code Online (Sandbox Code Playgroud)
IE糟透了,处理它.
我认为唯一的方法是将"隐藏文字"颜色改为你的背景颜色,你知道剩下的......