Well
1.Well是一种会引起内容凹陷显示或插图效果的容器 <div>
2.创建 Well,只需要简单地把内 容放在带有 class .well 的 <div> 中即可
尺寸大小
使用可选类 well-lg 或 well-sm 来改变 Well 的尺寸大小。这两个类是与 .well 类结合使用 的。这两个类会影响内边距(padding),根据使用的类,Well 会显示得更大或者更小
代码实例:
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Well</title>
<!-- Bootstrap -->
<link rel="stylesheet" href="../css/bootstrap.min.css">
</head>
<body style="padding:50px;">
<!--
.well-lg:大Well
.well-md:小Well
-->
<h4>.well-lg:默认</h4>
<div class="well">您好,我是BootStrip 默认Well!</div>
<h4>.well-lg:大Well,默认</h4>
<div class="well well-lg">您好,我是BootStrip 大Well!</div>
<h4>.well-md:小Well</h4>
<div class="well well-sm">您好,我是BootStrip 小Well!</div>
<script src="../js/jquery-1.11.1.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
</body>
</html>
显示效果: