About Photo Collage
This article documents
About Photo Collage Pro
An about section built around a six-photo collage: title and lead over three photos on the left, three more photos and a short story on the right, each photo in its own proportion.
Requires: GSAP core, ScrollTrigger, loaded by the Bricksify Companion for the widgets below. The layout itself is CSS in one global class and needs no script. See How widgets work.
Widgets used#
- Fold Roll (Pro) on the title and the subtitle, trigger Plays when it comes into view
- Image Reveal (free) on all six photos, wipe up, 0.1s apart
Each effect is set in that widget’s control group on a native Heading, Basic Text, Image, Button or Text Link, so you change or switch it off in the panel (Animation type: None).
What you replace#
| In the structure panel | What to do |
|---|---|
Title, Lead text, Subtitle, Body | Your words |
Photo 1 to Photo 6 | Your photos. The proportion is a class on each (r07, r08, r09, r11 = 0.7, 0.8, 0.9, 1.1): swap it to change the shape. |
The pictures are ordinary Bricks Image elements, so Bricks’ Import pasted images/SVGs setting handles them when you paste. The logos are placeholders: replace them with your own.
Layout and breakpoints#
Above 991px the two columns sit side by side, centred on each other. At 991px they stack; at 767px each photo takes the full width.
Classes#
One global class, bsfy-ab6, on the section holds the whole layout. The parts carry plain classes it styles, prefixed bxab6-.
Restyling#
Padding and background are element settings on the section. On the bsfy-ab6 class:
| Property | Default | What it does |
|---|---|---|
--bxab-fg | near black | Headings |
--bxab-muted | grey | Lead and body text |
--bxab-bg | white | Section background |
--bxab-radius | 8px | Photo corner radius |
Without JavaScript#
Nothing is lost: every text is plain text and every photo a plain image, in the same layout. The widgets only add the motion.
Reduced motion#
The widgets show their final state at once. See Reduced motion.