scroll-start-target #423
Labels
from: Google
Proposed, edited, or co-edited by Google.
topic: css
Spec relates to CSS (Cascading Style Sheets)
topic: scrolling
venue: W3C CSS WG
WebKittens
No response
Title of the proposal
CSS "scroll-start-target" property
URL to the spec
https://drafts.csswg.org/css-scroll-snap-2/#scroll-start-target
URL to the spec's repository
https://github.com/w3c/csswg-drafts/blob/main/css-scroll-snap-2
Issue Tracker URL
No response
Explainer URL
https://github.com/DavMila/explainer-scroll-start-target
TAG Design Review URL
w3ctag/design-reviews#1011
Mozilla standards-positions issue URL
mozilla/standards-positions#1107
WebKit Bugzilla URL
No response
Radar URL
No response
Description
This is a proposal to introduce a CSS property which authors can use to control which element(s) a scroll container will be initially scrolled to, i.e. when it first appears on a page. It is intended to provide a reliable way for developers to give their scroll containers a non-(0,0) default starting scroll position without using JavaScript or other tricks involving animations and scroll-snapping.
The text was updated successfully, but these errors were encountered: