Cards

Four ready-to-use molique card variants - from classic to interactive with a 3D effect - built on Flexbox with automatically aligned footers.

Classic Card

Made up of a .card container plus optional elements: .card-header, .card-body and .card-footer.

Card Title

This is a standard card. Flexbox inside takes care of laying out the content nicely.

Card with longer text

This card has more text. Notice how the footer in the card next to it automatically dropped down, so both cards end up the same height in the Grid!

<div class="card shadow-sm">
  <div class="card-header">Card Title</div>
  <div class="card-body">
    <p>Card content...</p>
  </div>
  <div class="card-footer">
    <button class="btn btn-primary">Action</button>
  </div>
</div>

Featured Box

A special card variant designed to showcase product or service features. It has a thick top border and room for an icon.

<div class="featured-box">
  <div class="featured-box-icon"><svg class="icon" aria-hidden="true"><use href="img/icons-sprite.svg#ph-rocket-launch"></use></svg></div>
  <h4 class="fw-bold">Performance</h4>
  <p class="text-muted">Feature description...</p>
</div>

Thumb Info Cards

Cards with an image background and a smoothly appearing overlay on hover. Ideal for portfolios and galleries.

<!-- Variant with text centered -->
<a href="#" class="thumb-info thumb-info-center">
  <img src="image.jpg" alt="Photo">
  <div class="thumb-info-wrapper">
    <h4 class="thumb-info-title">Title</h4>
  </div>
</a>

<!-- Variant with text at the bottom (gradient) -->
<a href="#" class="thumb-info thumb-info-bottom">
  <img src="image.jpg" alt="Photo">
  <div class="thumb-info-wrapper">
    <h4 class="thumb-info-title">Title</h4>
  </div>
</a>

<!-- Variant with a light (85% white) overlay and dark text -->
<a href="#" class="thumb-info thumb-info-bottom thumb-info-light">
  <img src="image.jpg" alt="Photo">
  <div class="thumb-info-wrapper">
    <h4 class="thumb-info-title">Title</h4>
  </div>
</a>

Interactive Cards (GPU)

Combine the .card class with our animation utilities to get premium effects without taxing the CPU.

Spring Hover

.hover-spring + .hover-gpu-shadow

3D Tilt (JS)

.tilt-card

<!-- Spring card with a GPU shadow -->
<div class="card hover-gpu-shadow hover-spring">...</div>

<!-- Card with a 3D tilt effect (requires tilt.js) -->
<div class="card tilt-card">...</div>