[英]Bootstrap Tooltips initialising but not showing
我正在尝试设置Bootstrap工具提示,但似乎没有用。
<p>This is a <a href="#" title="A collection of words.">sentence</a> with a tooltip</p>
和
$(document).ready(function(){
$("a").tooltip();
});
我已经建立了以下jsFiddle
html似乎转换为以下内容:
<p>This is a <a href="#" data-original-title="A collection of words.">sentence</a> with a tooltip</p>
并呈现工具提示html:
<div class="tooltip fade top in" style="top: -34px; left: 20.5px; display: block; "><div class="tooltip-arrow"></div><div class="tooltip-inner">A collection of words.</div></div>
使用正确的CSS样式:
但是它永远不会显示在浏览器中吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.