CSS | Scroll Snap stop Last Updated : 23 Aug, 2022 Comments Improve Suggest changes Like Article Like Report The Scroll Snap stop property is an inbuilt property in the Scroll Snap module. The Scroll Snap stop property stops or you can lock the scroll at some specific position that you define. It works like there is a pattern in your every slide and when the user scrolls the slide the pattern automatically changed and fits into the background and fixes the position of your content. It is an optional property in the scroll snap module. The Scroll Snap stop property lets the developer to stop the user scroll action at a particular position. Suppose the user scrolls the page by a gigantic scroll of the wheel then normally the scrolling will stop at the end of the scroll point when there is nothing left to visit on that page. But with this property developer tell the browser where to stop does not matter how gigantic the scroll was. Syntax: scroll-snap-stop: normal | always; Parameter: This property accepts only two parameter that mentioned above and described below: normal: This property is the default value. The browsers pass through the snapping position does not stop any specific position.always: This property enable the stop at snapping position. Example: Below example illustrates the Scroll Snap stop property: HTML <!DOCTYPE html> <html> <head> <title> CSS Scroll Snap Stop </title> <style> h1 { color: green; } .container { display: flex; overflow: auto; outline: 2px solid black; flex: none; } .container.y { width: 320px; height: 200px; flex-flow: column nowrap; } .container > div { text-align: center; scroll-snap-align: center; flex: none; } .y.container > div { line-height: 150px; font-size: 60px; width: 300px; height: 180px; } .y.proximity-scroll-snapping { scroll-snap-type: y proximity; } .proximity-scroll-snapping > div { scroll-snap-stop: always; } </style> </head> <body> <center> <h1>GeeksforGeeks</h1> <h4>CSS Scroll Snap Stop</h4> <div class="container y proximity-scroll-snapping"> <div style="background:green;">Geeks</div> <div style="background:cyan;">HTML</div> <div style="background:brown;">CSS</div> <div style="background:purple;">JavaScript</div> <div style="background:yellow;">Bootstrap</div> </div> </center> </body> </html> Output: Supported Browsers: The browsers supported by CSS Scroll Snap Stop are listed below: Google Chrome 75 and aboveEdge 79 and aboveFirefox 103 and aboveSafari 15 and aboveOpera 62 and above Comment More infoAdvertise with us Next Article CSS | Scroll Snap stop S skyridetim Follow Improve Article Tags : Web Technologies CSS CSS-Properties Similar Reads CSS | Scroll Snap type The Scroll Snap type property is an inbuilt property in the Scroll Snap module. Without the Scroll Snap module, the image gallery will look ridiculous. Before the Scroll Snap module, this effect can be achieved by JavaScript but during this days Scroll Snap with the CSS can be achieved. This propert 3 min read CSS scroll snap The CSS Scroll Snap module is an inbuilt feature in CSS that allows developers to control the behavior of scrollable elements and their children with precision. It introduces a new method of scrolling where the viewport "snaps" to predefined points. This ensures that the content aligns perfectly in 3 min read CSS | Scroll Padding top The Scroll Padding top is an inbuilt property in Scroll Snap module. This property set the scroll padding top longhand. This property acts as a magnet on the top of the sliding element that stick to the top of the view-port and stop the scrolling(forcefully) in that place. The Scroll Padding propert 2 min read CSS | ::-webkit-scrollbar ::-webkit-scrollbar is a pseudo-element in CSS employed to modify the look of a browser's scrollbar. Before we start with how it works and how can it be implemented, we need to know some facts about the element. Browsers like Chrome, Safari and Opera support this standard Browsers like firefox don't 3 min read CSS scroll-snap-align property CSS scroll-snap-align property represents the snap position of a box's snap area within the element's or container's snap port.Syntax:scroll-snap-align: Keyword_Values;/* Or */scroll-snap-align: Global_Values;Property values: The scroll-snap-align property accepts two values mentioned above and desc 1 min read How to Hide Scrollbar with CSS Hiding the scrollbar with CSS can enhance the look of your webpage by removing visible scrollbars while still allowing users to scroll through content. This can create a cleaner, more streamlined user interface without sacrificing usability. In this article, weâll explore different methods for hidin 3 min read How To Control The Scroll Snap in Tailwind CSS? To simplify scroll snap effects, a utility-first CSS framework, Tailwind CSS, helps with some utilities. When scroll snapping is in place, users are guided through the content smoothly by snapping elements into position as they scroll down the page, resulting in a more polished and responsive experi 4 min read CSS | overscroll-behavior Property The overscroll-behavior property is used to set the behavior of the browser when the boundary of a scrolling area is reached. This property can be used to prevent unwanted scrolling in pages where there are multiple scroll areas. It is a shorthand for the overscroll-behavior-x and overscroll-behavio 5 min read Foundation CSS Smooth Scroll Foundation CSS is an open-source & responsive front-end framework built by ZURB foundation in September 2011, that makes it easy to design beautiful responsive websites, apps, and emails that look amazing & can be accessible to any device. It is used by many companies such as Facebook, eBay, 5 min read CSS | Scroll Padding The Scroll Padding property is an inbuilt property in Scroll Snap module. This property sets the scroll padding longhands. This property acts as a magnet on the top of the sliding element that sticks to the top of the viewport and stops the scrolling(forcefully) in that place. The Scroll Padding pro 2 min read Like