Bootstrap三个不相等的列

!DOCTYPE htmlhtmlheadtitleBootstrap Example/titlelink href = /bootstrap/css/bootstrap.min.css rel=stylesheet

编程学习网为您整理以下代码实例,主要实现:Bootstrap三个不相等的列,希望可以帮到各位朋友。

<!DOCTYPE HTML>
<HTML>
   <head>
      <Title>bootstrap Example</Title>
      <link href = "/bootstrap/CSS/bootstrap.min.CSS" rel="stylesheet">
      <script src = "/scripts/jquery.min.Js"></script>
      <script src = "/bootstrap/Js/bootstrap.min.Js"></script>
   </head>
   <body>
      <div class = "container-fluID">
         <h2>bootstrap GrID Unequal Columns</h2>
         <div class = "row">
            <div class = "col-sm-8" style = "background-color:green; color: white;">Column One</div>
            <div class="col-sm-2" style="background-color:orange; color: white;">Column Two</div>
            <div class="col-sm-2" style="background-color:gray; color: white;">Column Three</div>
         </div>
      </div>
   </body>
</HTML>

本文标题为:Bootstrap三个不相等的列

基础教程推荐