Bento Grid Layout
A responsive bento-box feature grid (hero, wide and tall tiles) that collapses neatly to two and then one column.
⚑ Report this
A responsive bento-box feature grid (hero, wide and tall tiles) that collapses neatly to two and then one column.
The download has a working demo (index.html) plus the files to copy. The key file is shown below with a Copy button.
/* Bento Grid Layout · Cube Burst Studios · CC0
<div class="bento"><div class="tile tile--hero">…</div><div class="tile tile--tall">…</div><div class="tile">…</div>…</div>
Modifiers: tile--hero (2x2), tile--wide (2x1), tile--tall (1x2). Collapses to 2 then 1 column. */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 16px; }
.tile {
position: relative; overflow: hidden; padding: 22px; border-radius: 24px; background: #fff;
border: 1px solid #e8e4f3; box-shadow: 0 1px 2px rgba(20,10,60,.06), 0 8px 24px rgba(20,10,60,.06);
display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
transition: transform .25s ease, box-shadow .25s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(20,10,60,.08), 0 18px 40px rgba(20,10,60,.12); }
.tile h3 { margin: 0; font: 700 20px/1.2 system-ui, sans-serif; }
.tile p { margin: 0; font: 400 15px/1.45 system-ui, sans-serif; color: #5b5470; }
.tile--hero { grid-column: span 2; grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile--tall { grid-row: span 2; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .tile--hero, .tile--wide { grid-column: auto; } .tile--hero, .tile--tall { grid-row: span 1; } }MORE
WEB DEV
View all ↗Dark Mode Toggle (No Flash)
An accessible theme switch that follows the system setting, remembers the visitor's choice and never flashes white on load.
Game Landing Page Template
A complete one-page site for your game: sticky nav, hero with Play button, trailer slot, features, FAQ and a call-to-action band.
Memphis Pattern Backgrounds
Eight pure-CSS repeating patterns (stripes, dots, grid, zigzag, waves, checker, triangles, confetti). Recolour with two variables.
Infinite Marquee (Accessible)
A seamless scrolling ticker that pauses on hover/focus and stops for reduced-motion users. Works with text, chips or logos.