Why is IE 11 not rendering :after element, showing css as crossed out in dev tools?

后端 未结 1 985
暗喜
暗喜 2021-01-04 19:09

I have an angular app with two font icons in a given screen. These are rendered just fine in chrome, firefox and edge, but on IE 11 they do not display. The icons are to be

相关标签:
1条回答
  • 2021-01-04 19:56

    I had a similar issue, the after element on an <a> tag wasn't rendered in IE11, though I could see the CSS style for it. Freddie's answer here solved the issue for me. Add this to the css display: block;

    0 讨论(0)
提交回复
热议问题