UX Lift logo

Making Zigzag CSS Layouts With a Grid + Transform Trick | CSS-Tricks

Create a zigzag layout with a two‑column CSS grid, shift even items using translateY(50% + gap/2), reserve overflow space via padding, keeping source order and accessibility intact.

More from CSS Tricks

© 2026. Made in Manchester by Matt Kevan.

Privacy

Cookies

Contact