Projects Card Carousel
This article documents
Projects Card Carousel Pro
A full-width carousel of project cards with complete details and two round arrows over the photos.
Requires: the Bricksify Companion for the arrows, mouse drag and arrow keys (its Scroll Slider script, no library). Without it the row still swipes and snaps; the arrows stay hidden.
How it works#
- The section carries the class
bxc-scroll-slider. Inside it theTrack(bxss-track) is a native scrolling row and each card is abxss-slide; the arrows are buttons withbxss-prevandbxss-next. - An arrow moves to the next or previous card and is switched off (50% opacity) when the row reaches that end. Mouse drag and the Left/Right keys move the row too. To turn them off, add
data-bx-drag="0"ordata-bx-keys="0"to the section’s attributes. - Cards snap to 16px from the left edge on screens above 767px; on phones they glide freely, like the original.
- The arrows sit 240px below the top of the cards, at the same height on every screen.
- Hovering a photo zooms it to 105% in 0.3s inside its square frame.
What you replace#
| In the structure panel | What to do |
|---|---|
Title, Subtitle | The heading |
Card ... (6) | Photo, title, category, location, year, description and the button link. Duplicate a card to add one |
Layout and breakpoints#
Cards are 450px wide, 350px at 767px and the screen width minus 96px at 478px, with 32px between them. The title is 60px, 30px at 991px. The section has 64px of padding top and bottom.
Classes#
Global classes with typed settings: bxpr17-card, bxpr17-frame, bxpr17-img, bxpr17-body, bxpr17-title, bxpr17-badge, bxpr17-meta, bxpr17-text, bxpr17-button, bxpr17-arrow. The section class bsfy-pr17 holds only the scroll snapping, the hidden scrollbar, the disabled arrows, focus rings and reduced motion.
Reduced motion and without JavaScript#
With reduced motion the row jumps instead of gliding and nothing zooms. Without JavaScript the row swipes and snaps and the arrows are hidden.