1
某些图标某些时候不可见(在引导模式下)。它很少发生。
所有的图标都在一个文件中,以便加载这些图标。
我验证了html,所有的标签都正确关闭。
如果我检查任何元素,并更改任何CSS属性(的任何元素)所有隐藏的图标立即显示。某些图标某些时候不可见
粗体,斜体和上引导模态的横图标都具有这个问题。
Html是由JavaScript(字符串)和附加到HTML引导模态元素。 Html是这样的:
<div class='padding0 pos-rel cursor-pointer inline-block block-width pop-btns toolbar-action both input'>
<i class='jd-font-inherit color-inherit font-10 edit-text pos-rel toolbar-action icon-bBold both input' key='[email protected]@bold'></i>
<div class='popover fade top in jd-font-roboto dark-gray-pop no-bdrs edit-detail-popover'>
<div class='arrow'></div>
<div class='popover-content'>
<span class='padding0 txt-white'>Bold</span>
</div>
</div>
</div>
<div class='padding0 pos-rel cursor-pointer inline-block block-width pop-btns toolbar-action text'>
<i class='jd-font-inherit color-inherit font-10 edit-text pos-rel toolbar-action icon-aDown text' key='[email protected]@decrease-font'></i>
<div class='popover fade top in jd-font-roboto dark-gray-pop no-bdrs edit-detail-popover'>
<div class='arrow'></div>
<div class='popover-content'>
<span class='padding0 txt-white'>Decrease Font</span>
</div>
</div>
</div>
请分享你的HTML,或给问题网页的URL。 – Alexander
你如何在页面中添加字体? – Alexander
我们有我们自己的图标创建,我们从我们的静态服务器加载字体文件 –