Opens in a new tab

Hero · Text layer

A hero with layered text for Bricks Builder: a huge name runs nonstop across the screen and crosses a central photo, solid outside it and outlined in white inside, with two synced layers that never drift apart. A button over the photo fans out two photos behind it on hover, and a centered FBK Intro with its heading sits below. A shared pause button covers accessibility and respects reduced motion.

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

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 Button

    A link styled as a button, with style, size and width.

  • 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 Stage, class fbk-textlayer

The running name: size, how high it crosses the photo (share of its height), time for one pass

--fbk-t-size
clamp(4.5em, 12vw, 11em)
--fbk-t-top
18%
--fbk-t-time
40s

Color of the name over the photo, darkness of the photo

--fbk-t-front
var(--white)
--fbk-t-shade
30%

Photo width; how far the photo tilts on hover, and the photos behind on top of that

--fbk-t-width
40em
--fbk-t-tilt
5deg
--fbk-t-fan
8deg

Replaces

In Fancy Bricks 1.0 and 2.0 this was Hero - Text layer (2.0).