1,295
edits
Line 11: | Line 11: | ||
A scrollable element is one for which 'overflow-x' or 'overflow-y' is 'scroll' or 'auto'. | A scrollable element is one for which 'overflow-x' or 'overflow-y' is 'scroll' or 'auto'. | ||
<tt>scroll-snap-edge: none | | <tt>scroll-snap-edge: none | [ margin-left || margin-top || left || top ]</tt> | ||
This property defines which (if any) edges of the first CSS box for the element contribute to the allowable snapping positions for the nearest scrollable ancestor. | This property defines which (if any) edges of the first CSS box for the element contribute to the allowable snapping positions for the nearest scrollable ancestor. |
edits