Pie*_*ugh 62 jquery twitter-bootstrap twitter-bootstrap-3
我正在使用Bootstrap 3并为我的div添加了一个工具提示.我尝试过使用<br> \n和 创建新行.Bootstrap会阻止我吗?
<div class="content show-tooltip" data-placement="top"
data-original-title="1st line of text <br> 2nd line of text">
Run Code Online (Sandbox Code Playgroud)
Zim*_*Zim 198
你需要添加data-html="true"到标记..
<div class="content show-tooltip" data-html="true" data-placement="top"
title="1st line of text <br> 2nd line of text">
Run Code Online (Sandbox Code Playgroud)
工作演示:http://www.bootply.com/83099