Opens in a new tab

Cards · Deck

A card deck for Bricks Builder: the cards arrive stacked on top of each other and spread into place when they come into view, simply by scrolling down. Built on the FBK Card grid, it turns an ordinary set of cards into a small entrance moment.

Dark mode readyNeeds Code execution

Copying for Fancy Framework · Desktop first

Needs a framework. Get Fancy Framework (free)

In the annual plan, $99/year. See plans

Uses a small script. Turn on Code execution in Bricks › Settings › Custom code. How to turn on Code execution

Preview

Preview of the deck template: a card deck for Bricks Builder

Template details

What’s inside

The components it’s built from. They come with the template when you paste it, and you edit them from the Bricks panel.

  • FBK Card

    A media slot, title, text, a content slot and an actions slot.

  • FBK Card grid

    A grid that takes FBK Card or FBK Icon item instances, or a query loop.

  • FBK Intro

    Eyebrow, title, lead and an actions slot for buttons.

Adjust it

Change these variables in Bricks to tune it; everything else follows your framework.

On the element Deck of cards, class fbk-cardsdeck

The deck: how far each card sits from the next before they spread, and the time of the deal

--fbk-t-offset
2.5em
--fbk-t-deal
0.6s
--fbk-t-stagger
0.12s

Photo strip height and the photo's turn when it shows on hover

--fbk-t-strip
9em
--fbk-t-turn
-4deg

One hover duration for the whole library (--fbk-hover)

--fbk-t-time
var(--fbk-hover)

Replaces

In Fancy Bricks 1.0 and 2.0 this was Card Trigger (2.0).