Prevent overscroll browser behavior

This CSS snippet prevents that annoying over-scrolling behavior in the browser.

html, body { 
  overscroll-behavior: none; 
}

Man holding an iPhone in hands

Leave the first comment

Related posts

  • Font Smoothing

    October 7, 2022
    Here is how to get smooth like butter font on your websites.
  • CSS reset basic

    October 6, 2022
    Here is a stripped-down CSS reset code to start the front-end HTML layout. This is just for quick development; otherwise,…
  • Quick CSS variable setup

    October 6, 2022
    Here is an example CSS code snippet to setup CSS variables. Expand as you wish.