javascript - Bootstrap 组件将文本分组到框中?

标签 javascript css twitter-bootstrap

是否可以在 bootstrap 中创建文本组并将它们分配给框,类似于按钮组的工作方式?

基本上,整个 UI 会有多个框,里面有文本。类似于 [this][1] 的内容。

最佳答案

在 bootstrap 2.3.2 中,您可以使用井来对文本片段进行分组。

<div class="well">
    <h2>This is a well!</h2>
    <p>All this text will be grouped together in a well.</p>
<div>

希望这对您有所帮助。

关于javascript - Bootstrap 组件将文本分组到框中?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20186098/

相关文章:

javascript - 类型错误 : Cannot read property 'book' of undefined at BookDetails. 渲染

HTML CSS h3 iframe 定位

css - border-color 属性用作样式,而不是 css 类

javascript - 单击时将超链接替换为内联文本框

javascript - 为什么一串数字的工作方式与新日期中的实际数字不同?

javascript - angularjs ng-pattern根据正则表达式条件更改元素的CSS样式

html - li ul li 太长,换行但没有缩进

html - CSS 样式优先级未按预期工作

javascript - Bootstrap 表单在提交时不调用 JS 函数

javascript - 了解缓存?