Gallery Snap Strip
This article documents
Gallery Snap Strip Free
A horizontal strip of tall photo cards that snaps into place as it scrolls, with a wider first card, a caption and a number on every frame and round arrow buttons in the header.
Requires: the Bricksify Companion for the arrows (its Scroll Slider script, no library). The strip itself is a native scroll-snap row: without the script it still scrolls and snaps with touch, a trackpad or Shift and the mouse wheel, and the arrows stay hidden.
How it works#
- The section carries the class
bxc-scroll-slider, which loads the script. It looks inside forbxss-track(the strip),bxss-slide(each card),bxss-prevandbxss-next(the arrows). - The arrows move one card at a time and switch off at either end.
- On the section,
data-bx-draganddata-bx-keysare set to0: as in the original, a mouse does not drag the strip and the arrow keys are left to the page. Remove them to turn both on. - Hovering a card zooms its picture to 105% in 0.5s (a Transform on the
:hoverstate ofbxg51-img).
What you replace#
| In the structure panel | What to do |
|---|---|
Eyebrow, Heading | Your words |
Card 1 to Card 7 | Picture, Title, Place and year and Number. Duplicate a card to add one. |
The pictures are ordinary Bricks Image elements, so Bricks’ Import pasted images/SVGs setting handles them when you paste. Replace them with your own.
Layout and breakpoints#
Cards are 288px wide and the first one 384px, all 3:4, with 16px between them and 40px of padding on the strip. At 478px the cards are 224px (the first 288px), the padding 24px and the heading drops from 48px to 30px. The card width is a Bricks setting on bxg51-card; the first card’s own width is set on that element.
Classes#
Global classes with typed settings: bxg51-arrow, bxg51-card, bxg51-img, bxg51-shade, bxg51-caption, bxg51-label, bxg51-sub, bxg51-num. The class bsfy-g51 on the section holds only the scroll-snap rules, the hidden scrollbar, the disabled arrows, tabular numbers and reduced motion.
Reduced motion#
The arrows jump instead of scrolling smoothly and the hover zoom is off.