In IE11 using pseudo element ::before and display:table-cell and glyphicons contens wont show up

后端 未结 2 1184
有刺的猬
有刺的猬 2020-12-21 04:04

I\'ve spent a rather good time on this now but cant come to a solution. My problem is that I want to display a glyphicon before the content of a text-block and that element

2条回答
  •  猫巷女王i
    2020-12-21 04:15

    There is an active bug report about this issue in Microsoft Connect website. On IE, font-family decleration is ignored in pseudo-element with display: table-cell; property.

    To workaround this problem, you need to set display: inline-block;.

提交回复
热议问题