如何做一个 'gray box' 或内联面板?
How to do a 'gray box' or inline panel?
我正在使用 Twitter Bootstrap 开发一个网站,想将一些内容放在灰色框或面板中。
我的意思很像 bootstrap 自己文档中的 'Basic block' example。显示我的意思的小屏幕截图:
除了它应该包含正常的 HTML 内容,没有代码或
东西或任何东西。
您可以为此使用 well
。参见 docs。
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet" />
<div class="well well-sm">Well well well</div>
我正在使用 Twitter Bootstrap 开发一个网站,想将一些内容放在灰色框或面板中。
我的意思很像 bootstrap 自己文档中的 'Basic block' example。显示我的意思的小屏幕截图:
除了它应该包含正常的 HTML 内容,没有代码或
东西或任何东西。
您可以为此使用 well
。参见 docs。
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet" />
<div class="well well-sm">Well well well</div>