洼地(Well)样式的效果和大屏幕展播Jumbotron样式类似,不同点是well样式有了边框设置,并且默认高度是自适应文本的高度。示例代码:
<div class="well"> <p> sorry I have no word to say</p> <blockquote>this is a 引用内容</blockquote> </div>
效果:
可以设置洼地的大小:
<div class="well well-lg"> <p> sorry I have no word to say</p> <blockquote>this is a 引用内容</blockquote> </div> <div class="well"> <p> sorry I have no word to say</p> <blockquote>this is a 引用内容</blockquote> </div> <div class="well well-sm"> <p> sorry I have no word to say</p> <blockquote>this is a 引用内容</blockquote> </div>