Free tools Windows power users keep installed
One-click scans. No signup required.
Use CSS Scroll Snap to make a scrollable container settle on section boundaries: put scroll-snap-type on the container and scroll-snap-align on its section targets. Start with proximity for a forgiving page; use mandatory only when every target and its content remain reachable. Scroll Snap chooses where scrolling settles, not a guaranteed animation or easing curve.
How CSS Scroll Snap works
There are two sides to the relationship: a scroll container that owns the scrolling, and child elements that can act as snap targets. The container defines the snap axis and strictness. Each target defines how it should align when scrolling settles. The browser then applies those rules while the user scrolls.
The W3C model describes alignment between a target’s snap area and the container’s snapport. scroll-padding adjusts the snapport; scroll-margin adjusts a target’s snap area. W3C CSS Scroll Snap Module Level 1
Build a basic vertical section scroller
This example creates a bounded, vertically scrollable region. Its sections can be taller than the visible area when their content needs more room.
#1 Best Overall
- Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
- Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
- Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
- Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
- 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
<div class="story-scroller">
<section class="panel"><h2>First section</h2><p>Introductory content.</p></section>
<section class="panel"><h2>Second section</h2><p>More content.</p></section>
<section class="panel"><h2>Third section</h2><p>Final content.</p></section>
</div>
.story-scroller {
block-size: 100vh;
overflow-y: auto;
scroll-snap-type: y proximity;
}
.panel {
min-block-size: 100%;
scroll-snap-align: start;
}
Here, y selects vertical snapping and proximity makes snapping discretionary. min-block-size gives a panel at least the container’s block size without forcing content to fit inside a fixed-height box. Adapt the container size to the layout: a nested scroller needs a deliberate height, while a normal document page may be better served by applying snap behavior to the page’s scrolling element rather than creating an extra scroll region. See MDN’s basic concepts of scroll snap.
Choose strictness and alignment
mandatory or proximity
| Setting | Behavior | Use it when | Watch for |
|---|---|---|---|
scroll-snap-type: y mandatory |
The browser enforces a defined snap position after scrolling. | Sections are discrete and all content within them can still be accessed naturally. | Long or oversized content can be hard to traverse; unaligned child content may not be reachable as expected. |
scroll-snap-type: y proximity |
The browser decides whether a scroll ends close enough to a snap position to snap. | You want section guidance without forcing every scroll to a target. | It does not guarantee that every scroll ends exactly at a section boundary. |
MDN cautions that mandatory snapping can make points in oversized content difficult to reach, and that children without snap alignment can behave unexpectedly in a mandatory container. Check the content and target layout before using strict snapping. MDN: Basic concepts of scroll snap
Rank #2
- 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
- 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
- Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
- 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
- What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
Pick a target alignment
scroll-snap-align: startaligns the target’s start edge with the snapport’s start.scroll-snap-align: centeraligns the target’s center.scroll-snap-align: endaligns the target’s end edge.
Choose the alignment that suits the design rather than assuming every section should start at the top. If a fixed header covers the top of a snapped section, add space to the container’s snapport:
.story-scroller {
scroll-snap-type: y proximity;
scroll-padding-block-start: 4rem;
}
.panel {
scroll-snap-align: start;
}
The value shown is only an example; match it to the actual header and layout. A target-specific offset can instead be expressed with scroll-margin-block-start on that target. MDN documents both as ways to adjust snapping geometry: scroll container and target adjustments.
Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchPC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Rank #3
- Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
- Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
- Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
- Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
- What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
Snap position is not animation behavior
Scroll Snap controls the positions at which scrolling may settle. It does not standardize how the browser animates or physically moves the page between those positions. The W3C specification says the animation and physics are left to the user agent, so the exact feel can vary by browser and input method. Do not promise identical easing or timing based on scroll-snap-type alone. W3C CSS Scroll Snap Module Level 1
Make section snapping usable across layouts
- Let content grow. Prefer a minimum section size over a fixed height when text, localization, or responsive layout can make a section taller than the viewport.
- Test short viewports. A panel that works on a large screen may become difficult to traverse on a small screen if snapping is too strict.
- Check every input method. Try touch, mouse or trackpad scrolling, and keyboard navigation in the browsers your site supports.
- Account for fixed interface elements. Use container
scroll-paddingor targetscroll-marginto keep snapped content from sitting beneath a header. - Review motion preferences and the real interface. Scroll Snap alone does not guarantee an accessible motion experience; test the page with the motion preferences and navigation methods relevant to your audience.
MDN marks scroll-snap-type as Baseline and widely available, with support across browsers since April 2022. For a named browser/version support policy, check current compatibility data rather than treating that milestone as a guarantee for every historical version. MDN: scroll-snap-type
Rank #4
- Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
- Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
- Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
- Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
- Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
Troubleshoot snapping that feels wrong
The sections do not snap
- Confirm that the element actually scrolls: it needs an appropriate constrained size and
overflow-y: autoorscroll, or the snap properties need to be on the page’s actual scroll container. - Confirm the container has
scroll-snap-typeand the intended children havescroll-snap-align. - With
proximity, a scroll may stop without snapping; that is allowed by the setting. Try a nearer stop or testmandatoryonly after checking content accessibility.
A section is hidden under a header
Adjust scroll-padding-block-start on the scroll container or scroll-margin-block-start on the affected target. Make the offset reflect the actual obstruction, then verify at different viewport sizes.
Some content is hard to reach
Look for oversized panels combined with mandatory, or children that lack an alignment target. Switch to proximity, align the intended targets, and ensure long content can be scrolled through instead of trapped between snap points.
The Tool Desk
Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Best Value
- 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
- Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
- Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
- HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
- What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
The movement is not uniformly smooth
That is not necessarily a CSS error: the specification leaves animation and physics to the browser. Test the intended browsers and input devices, and avoid treating snapping as a control for precise scroll animation.
Browser support and specification status
MDN reports scroll-snap-type widely available across browsers since April 2022. The W3C module index lists CSS Scroll Snap Level 1 as a Candidate Recommendation Snapshot dated 11 March 2021 and Level 2 as a First Public Working Draft dated 23 July 2024. Those dates describe specification publication states, not a promise that every newer feature is implemented. Check the exact property and browser versions in your support matrix. W3C CSS Scroll Snap module index
Or skip the browser setup
If your task is capturing how a page looks rather than implementing its scrolling behavior, ScreenshotNeo provides a screenshot API and MCP server. One GET request can return an image or PDF; the API and options are documented at ScreenshotNeo docs.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
Cookie and consent banners are accepted and removed before capture, along with supported newsletter popups and chat widgets; those steps can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits are not billed, and response headers identify the page verdict and billing status. AI agents can use its MCP server tools, including take_screenshot, get_page_info, and capture_pdf. The Free plan includes 1,000 shots per month without a card; paid plans start at $5 for 3,000 shots. Learn more at ScreenshotNeo, or sign up free for 1,000 screenshots a month with no card.
Recommended Free Tools
Frequently Asked Questions
Can I use CSS Scroll Snap on the whole page instead of a nested container?
Yes. Apply the snap type to the element that actually scrolls the page and align the relevant section targets; a separate fixed-height scroller is not required.
Does scroll-snap-type make programmatic scrolling use a fixed smooth animation?
No. It specifies snap behavior and positions, not a standardized animation curve or timing.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




