alerts中包含了:alert-info、 alert-block、alert-danger、alert-error、alert-success,根据自己的要求写东西
alerts的用法:
<div class="container" style="width:40%">
<div class="alert">
<button type="button" class="close" data-dismiss="alert">关闭</button>
<strong>警告!</strong>这是个警告标语~!
</div>
</div>
<div class="container" style="width:40%">
<div class="alert alert-info">
<button type="button" class="close" data-dismiss="alert">关闭</button>
<strong>警告!</strong>这是个警告标语~!
</div>
</div>