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.
  • Quick CSS variable setup

    October 6, 2022
    Here is an example CSS code snippet to setup CSS variables. Expand as you wish.
  • BEM – CSS naming convention

    October 7, 2022
    The Block, Element, Modifier methodology (commonly referred to as BEM) is a popular naming convention for classes in HTML and…