Bootstrap tooltip doesn't show style of the tooltip, only data

前端 未结 11 1670
礼貌的吻别
礼貌的吻别 2021-02-05 06:13

Trying to make Bootstrap show the tooltip function, I have followed exactly as Bootstrap DOC about Tooltips and declare my attribute and properties. when I hover over the text t

11条回答
  •  长发绾君心
    2021-02-05 07:12

    This question has been sufficiently answered, but the solutions don't apply; my links were in good order. Turns out that there's a conflict with Font Awesome (FA). For example, this wouldn't work for me:

    
    

    If I remove the FA classes, and enter text within the span, the tooltips render in the proper style... but isn't a good solution. However, by encapsulating that span within another span does work:

    
    

    I hope this helps the odd soul out there. Or two :^)

提交回复
热议问题