# Unlock Immediate Diagonal Scrolling with CSS scroll-axis-lock: none

DevFeed: [Unlock Immediate Diagonal Scrolling with CSS scroll-axis-lock: none](<https://devfeed.tech/articles/unlock-immediate-diagonal-scrolling-with-css-scroll-axis-lock-none-48158.md>)

Original publisher: [Read original article](<https://www.bram.us/2026/08/09/unlock-diagonal-scrolling-with-css-scroll-axis-lock-none/>)

Author: Bramus!

Published: 2026-08-09T08:16:50Z

Content type: article

Language: en

Sources: [Bram.us](<https://devfeed.tech/sources/bram-us.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [browser](<https://devfeed.tech/topics/browser.md>), [User Experience](<https://devfeed.tech/topics/user-experience.md>), [Web platform](<https://devfeed.tech/topics/web-platform.md>), [interface](<https://devfeed.tech/topics/interface.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [browser](<https://devfeed.tech/tags/browser.md>), [chrome](<https://devfeed.tech/tags/chrome.md>), [css](<https://devfeed.tech/tags/css.md>), [firefox](<https://devfeed.tech/tags/firefox.md>), [interfaces](<https://devfeed.tech/tags/interfaces.md>), [ios](<https://devfeed.tech/tags/ios.md>), [locking](<https://devfeed.tech/tags/locking.md>), [original-content](<https://devfeed.tech/tags/original-content.md>), [scroll](<https://devfeed.tech/tags/scroll.md>), [scrolling](<https://devfeed.tech/tags/scrolling.md>), [user-experience](<https://devfeed.tech/tags/user-experience.md>)

## AI overview

This article explains browser scroll axis-locking, also called railing, and how a new CSS property can disable it to allow immediate diagonal scrolling. It discusses use cases such as maps and image-zoom interfaces and notes differences across browsers and platforms.

## Source excerpt

When you scroll a 2D scroller on a website, the browser does a lot of work behind the scenes to keep you on track. One of the things it typically does is scroll axis-locking (aka "railing"), ignoring some minor scroll deltas in the non-main scrolling axis. While helpful most of the times, this sometimes can get in the way such as in map or image zoom interfaces. With the new CSS scroll-axis-lock property you can disable the browser's default scroll axis-locking behavior, allowing users to immediately perform a diagonal scroll.