Bootstrap中心对齐内容块

div class = rowdiv class = center-block style = width:200px; background-color:#ccc;

编程学习网为您整理以下代码实例,主要实现:Bootstrap中心对齐内容块,希望可以帮到各位朋友。

<div class = "row">
   <div class = "center-block" style = "wIDth:200px; background-color:#ccc;">
      This is an example for center-block
   </div>
</div>

本文标题为:Bootstrap中心对齐内容块