Bootstrap Glyphicon 弹出窗口
Bootstrap Glyphicon Popover
我想知道为什么下面的字形不会触发悬停弹出窗口。
能请教一下吗?
<div class="form-group has-feedback">
@Html.LabelFor(model => model.FullName, htmlAttributes: new { @class = "control-label col-md-2" })
<div class="col-md-10 ">
@Html.EditorFor(model => model.FullName, new { htmlAttributes = new { @class = "form-control" } })
<span class="glyphicon glyphicon-question-sign form-control-feedback" rel="popover" data-trigger="hover" data-toggle="popover" data-placement="bottom" title="Title" data-content="Content"></span>
@Html.ValidationMessageFor(model => model.FullName, "", new { @class = "text-danger" })
</div>
移除 class,
form-control-feedback
,来自 <span>
元素
https://jsfiddle.net/0uye7njx/
如果您想要工具提示的实际 "style",这里还有一个 post
- Bootstrap 3 Tooltip over Glyphicon
- http://jsfiddle.net/t9Ku6/3/
我想知道为什么下面的字形不会触发悬停弹出窗口。 能请教一下吗?
<div class="form-group has-feedback">
@Html.LabelFor(model => model.FullName, htmlAttributes: new { @class = "control-label col-md-2" })
<div class="col-md-10 ">
@Html.EditorFor(model => model.FullName, new { htmlAttributes = new { @class = "form-control" } })
<span class="glyphicon glyphicon-question-sign form-control-feedback" rel="popover" data-trigger="hover" data-toggle="popover" data-placement="bottom" title="Title" data-content="Content"></span>
@Html.ValidationMessageFor(model => model.FullName, "", new { @class = "text-danger" })
</div>
移除 class,
form-control-feedback
,来自 <span>
元素
https://jsfiddle.net/0uye7njx/
如果您想要工具提示的实际 "style",这里还有一个 post
- Bootstrap 3 Tooltip over Glyphicon
- http://jsfiddle.net/t9Ku6/3/