Skip to content

九. BootStrap

image-20220716160225615

https://www.bootcss.com/

html
<div class="row">
  <div class="col-xl-3 col-lg-4 col-md-6 col-sm-12">
    <div
      class="card"
      style="width: 18rem;">
      <img
        src="..."
        class="card-img-top"
        alt="..." />
      <div class="card-body">
        <h5 class="card-title">Card title</h5>
        <p class="card-text">
          Some quick example text to build on the card title and make up the
          bulk of the card's content.
        </p>
        <a
          href="#"
          class="btn btn-primary"
          >Go somewhere</a
        >
      </div>
    </div>
  </div>
  <div class="col-xl-3 col-lg-4 col-md-6 col-sm-12">
    <div
      class="card"
      style="width: 18rem;">
      <img
        src="..."
        class="card-img-top"
        alt="..." />
      <div class="card-body">
        <h5 class="card-title">Card title</h5>
        <p class="card-text">
          Some quick example text to build on the card title and make up the
          bulk of the card's content.
        </p>
        <a
          href="#"
          class="btn btn-primary"
          >Go somewhere</a
        >
      </div>
    </div>
  </div>
  <div class="col-xl-3 col-lg-4 col-md-6 col-sm-12">
    <div
      class="card"
      style="width: 18rem;">
      <img
        src="..."
        class="card-img-top"
        alt="..." />
      <div class="card-body">
        <h5 class="card-title">Card title</h5>
        <p class="card-text">
          Some quick example text to build on the card title and make up the
          bulk of the card's content.
        </p>
        <a
          href="#"
          class="btn btn-primary"
          >Go somewhere</a
        >
      </div>
    </div>
  </div>
  <div class="col-xl-3 col-lg-4 col-md-6 col-sm-12">
    <div
      class="card"
      style="width: 18rem;">
      <img
        src="..."
        class="card-img-top aaa"
        alt="..." />
      <div class="card-body">
        <h5 class="card-title">Card title</h5>
        <p class="card-text">
          Some quick example text to build on the card title and make up the
          bulk of the card's content.
        </p>
        <a
          href="#"
          class="btn btn-primary"
          >Go somewhere</a
        >
      </div>
    </div>
  </div>
</div>