Story

On air. The free wire runs 15 minutes behind live. See pricing

World, crypto, finance and tech news, scored for impact.

TechHacker NewsFiled 5 days ago

Multi-Column Different-Speed Scrolling

Open the sourceReported by Hacker News, blog.master.dev, 4 November 2026

Not investment advice. Muhabbit scores how much a story may matter, not which way to trade.

The article demonstrates a CSS-based photo gallery where two columns scroll at different speeds, using Scroll-Driven Animations to create the effect. The left column scrolls at the normal page rate, while the right column moves faster via a directional transform tied to the root scroll timeline, with a padding offset of 80px for visual variation. The layout uses a two-column grid with a gap of 1.5rem, collapsing to a single column at a 500px breakpoint defined through a custom media query. The technique relies on the scroll() animation-timeline feature, wrapped in an @supports query so browsers lacking support simply fall back to standard scrolling. The effect is purely visual, preserving the scrollbar so users retain a sense of how much content remains. What to watch next is broader browser adoption of Scroll-Driven Animations, which determines whether this progressive-enhancement trick works without a fallback.

Muhabbit's AI wrote this summary in its own words from Hacker News's report. It can get details wrong, so check the source.

Named in this story

CSS, LightningCSS