Card

Classes Information

ClassNameDescription
cardContainer element
card-headerCard Header
card-bodyCard Body
card-footerCard Footer
card-image-coverTake the img tag and adapt to the card

Basic Usage

Hello World

Example Code

html
<div class="card">
    <div class="card-body">Hello World</div>
</div>

Penatibus etiam nam congue hendrerit

Penatibus ornare facilisi nostra proin quis consectetuer dis pellentesque

Example Code

html
<div class="card">
    <div class="card-body">
      <h2 class="card-header">Penatibus etiam nam congue hendrerit</h2>
      <p class="text-content2">
        Penatibus ornare facilisi nostra proin quis consectetuer dis
        pellentesque
      </p>
      <div class="card-footer">
        <button class="btn-primary btn">Learn More</button>
      </div>
    </div>
</div>

Image Cover Top

Penatibus etiam nam congue hendrerit

Penatibus ornare facilisi nostra proin quis consectetuer dis pellentesque

Example Code

html
<div class="card card-image-cover">
  <img src="https://source.unsplash.com/random/300x200" alt="" />
  <div class="card-body">
    <h2 class="card-header">Penatibus etiam nam congue hendrerit</h2>
    <p class="text-content2">
      Penatibus ornare facilisi nostra proin quis consectetuer dis
      pellentesque
    </p>
    <div class="card-footer">
      <button class="btn-primary btn">Learn More</button>
    </div>
  </div>
</div>

Image Cover Bottom

Penatibus etiam nam congue hendrerit

Penatibus ornare facilisi nostra proin quis consectetuer dis pellentesque

Example Code

html
<div class="card card-image-cover" >
  <div class="card-body">
    <h2 class="card-header">Penatibus etiam nam congue hendrerit</h2>
    <p class="text-content2">
      Penatibus ornare facilisi nostra proin quis consectetuer dis
      pellentesque
    </p>
    <div class="card-footer">
      <button class="btn-primary btn">Learn More</button>
    </div>
  </div>
  <img src="https://source.unsplash.com/random/300x200" alt="" />
</div>