banner photo
Supplier name
A banner reference photo, bled to the card edges.
A credited image-grid band and a card banner thumbnail.
Two related image primitives extracted from the "In rooms" supplier band on the integral-blinds page: a responsive, credited gallery grid, and a full-bleed banner thumbnail for the top of a card. Colours inherit the host surface; every proportion is a token.
<link rel="stylesheet" href="https://assets.gf.cx/gallery/gallery.css">
Optional serif title, responsive auto-fill grid of aspect-locked figures with a gentle hover push-in, and a credit line.
.gallery renders:Reference images — shown to picture the options, not as an endorsement.
<section class="gallery">
<h2 class="gallery__title">In <em>rooms</em></h2>
<div class="gallery__grid">
<figure class="gallery__fig"><img src="…" alt="…" loading="lazy" width="1200" height="900"></figure>
<!-- … -->
</div>
<p class="gallery__credit">Reference images — not an endorsement.</p>
</section>
A full-bleed photo at the top of a padded card. Set the bleed tokens to the card's own padding so the image reaches the edges.
.gallery-thumb renders (inside a 20/22px-padded card):A banner reference photo, bled to the card edges.
<article class="your-card" style="--gallery-thumb-bleed-top:20px; --gallery-thumb-bleed-x:22px;">
<div class="gallery-thumb"><img src="…" alt="…" loading="lazy" width="1200" height="546"></div>
<h3>Card title</h3>
</article>
| Token | Default | Controls |
|---|---|---|
--gallery-margin | 30px 0 8px | band outer margin |
--gallery-title-size | 24px | title size |
--gallery-min | 190px | min column width |
--gallery-gap | 10px | grid gap |
--gallery-ratio | 4 / 3 | figure aspect ratio |
--gallery-radius | 10px | figure corner radius |
--gallery-hover-scale | 1.045 | hover push-in |
--gallery-thumb-ratio | 2.2 / 1 | banner aspect ratio |
--gallery-thumb-radius | 10px 10px 0 0 | banner corners |
--gallery-thumb-bleed-top | 20px | card top padding to cancel |
--gallery-thumb-bleed-x | 22px | card side padding to cancel |
--gallery-thumb-gap | 16px | gap below banner |