css masonry layout

All collections tagged with "css masonry layout"

15 CSS Flexbox Layouts preview

15 CSS Flexbox Layouts

15 production-ready CSS flexbox layouts with live demos and copy-paste code — holy grail page shell, responsive card grid, sticky navbar, masonry-style columns, sidebar dashboard, product cards, pricing table, magazine article, sticky footer with min-block-size: 100dvh, centered hero, vertical timeline, chat interface, mosaic gallery, two-column form, and kanban board. Every demo is mobile-first, WCAG-friendly, and works without a build step.

22 CSS Image Galleries preview

22 CSS Image Galleries

22 hand-coded CSS image galleries for portfolio photographers, wedding photographers, real-estate listings, e-commerce lookbooks, agency case studies, art directors, and Airbnb/Vrbo property pages — hexagon honeycomb, Google-images justified rows, flexbox expanding panels, :has() spotlight focus, radial orbit rings, cursor-trail interactive canvases (6 brand-new demos), plus Pinterest-style masonry, pure-CSS lightbox, scroll-snap filmstrip, hover accordion, mosaic zoom, glassmorphism cards, diagonal slice reveal, mousemove 3D tilt, 3D cube viewer, perspective depth stack, infinite scroll marquee, Ken Burns slideshow, Polaroid stack, and scattered photo collage. 20 pure CSS + 2 vanilla JS. Every image ships aspect-ratio for zero CLS, loading=lazy + decoding=async, WCAG 2.1 accessible, MIT licensed.

12 CSS Masonry Layouts preview

12 CSS Masonry Layouts

12 hand-coded CSS masonry layouts covering the three canonical engines (multi-column `columns:` walls, CSS Grid row-span lattices, CSS Grid dense auto-flow packing, flex column-wrap boards) plus the W3C native masonry spec with layered @supports fallbacks. Every real-world masonry use case: Pinterest-style image walls, `<dialog>`-element lightbox galleries, responsive photo grids with grid-row spans preserving reading order, blog card walls with column-span editor's-pick spans, e-commerce product listings with dense packing + feature tiles, flex column-wrap horizontally-scrolling social feeds, art-directed portfolio showcases with :has() spotlight, testimonial walls with mask-image fade + scroll-driven reveal, mixed-ratio video thumbnail galleries, quantized dashboard widget grids on 108px lattices, IntersectionObserver-append infinite scroll walls with aria-live, and the modern @supports (grid-template-rows:masonry) / display:masonry cascade with live badge showing engine status. 10 truly Pure CSS + 2 with a tiny optional vanilla JS snippet (lightbox dialog + infinite-scroll append). Every wall is scoped under a unique .msn-NN prefix so it drops into any project without CSS collisions, ships prefers-reduced-motion guards, and is framework-agnostic (works as-is in React, Vue, Svelte, Astro, Next.js, Remix, or plain HTML).

Search CodeFronts

Loading…