Services Image Grid
This article documents
Services Image Grid Free
An intro column beside a grid of photo cards.
Requires: nothing. The layout is made of Bricks settings, so the template needs no companion script and no library.
How it works#
- Each
Cardis a link with the photo (a real Image element filling it), the name at the top left and an arrow at the top right. - Hovering a card lowers it to 80% opacity in 0.3s and grows its arrow to 110% in 0.15s.
- The intro column spreads its content over the height of the cards: heading and text at the top, the button at the bottom.
What you replace#
| In the structure panel | What to do |
|---|---|
Title, Text | The intro |
Button - View all services | Label and link |
Card ... (5) | Link, photo (and its alt text) and name. The first two are tall (3:4), the three in Wide cards are 4:3 (class bxsv12-card-wide) |
Layout and breakpoints#
Above 991px the intro takes one third and the cards two thirds, 40px apart. At 991px they stack. The title is 60px, 36px at 767px. At 478px every card takes the full width: the tall ones keep 24px between them, the wide ones 16px.
Classes#
Global classes with typed settings: bxsv12-card, bxsv12-card-wide, bxsv12-img, bxsv12-title, bxsv12-title-wide, bxsv12-arrow, bxsv12-arrow-wide, bxsv12-btn. The section class bsfy-sv12 holds only the arrow growing on card hover, focus rings, the button press and reduced motion.
Reduced motion and without JavaScript#
With reduced motion the changes happen without animating. The template needs no JavaScript.