Bootstrap将自定义内容添加到列表组

!DOCTYPE htmlhtmlheadtitleTry v1.2 Bootstrap Online/titlelink href=/bootstrap/css/bootstrap.min.css rel=stylesheet

编程学习网为您整理以下代码实例,主要实现:Bootstrap将自定义内容添加到列表组,希望可以帮到各位朋友。

<!DOCTYPE HTML>
<HTML>
<head>
   <Title>Try v1.2 bootstrap Online</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 = "List-group">
   <a href = "#" class = "List-group-item active">
      <h4 class = "List-group-item-heading">
         Starter Website Package
      </h4>
   </a>

   <a href = "#" class = "List-group-item">
      <h4 class = "List-group-item-heading">
         Free Domain name Registration
      </h4>

      <p class = "List-group-item-text">
         You will get a free domain registration with website pages.
      </p>
   </a>

   <a href = "#" class = "List-group-item">
      <h4 class = "List-group-item-heading">
         24*7 support
      </h4>

      <p class = "List-group-item-text">
         We provIDe 24*7 support.
      </p>
   </a>

</div>

<div class = "List-group">
   <a href = "#" class = "List-group-item active">
      <h4 class = "List-group-item-heading">
         Business Website Package
      </h4>
   </a>

   <a href = "#" class="List-group-item">
      <h4 class = "List-group-item-heading">
         Free Domain name Registration
      </h4>

      <p class = "List-group-item-text">
         You will get a free domain registration with website pages.
      </p>
   </a>

   <a href = "#" class = "List-group-item">
      <h4 class = "List-group-item-heading">24*7 support</h4>
      <p class = "List-group-item-text">We provIDe 24*7 support.</p>
   </a>

</div>

</body>
</HTML>

本文标题为:Bootstrap将自定义内容添加到列表组

基础教程推荐