scroll-snap-align — alignment of snap positions
The scroll-snap-align property specifies how an element's snap area aligns inside its container when scrolling snaps. Set it on the target elements and set scroll-snap-type on the container.
CKTIS / CSS
Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.
The scroll-snap-align property specifies how an element's snap area aligns inside its container when scrolling snaps. Set it on the target elements and set scroll-snap-type on the container.
The scroll-snap-stop property controls whether relative scrolling may pass over an element’s snap position.
This property selects snapping axes and strictness on a scroll container; scroll-snap-align defines the target positions.
The scroll-target-group property groups existing scroll markers, allowing the active navigation link to be highlighted with :target-current.
The scroll-timeline shorthand defines a named timeline on a scroll container. An animation using that timeline advances with scroll position rather than elapsed time.
The scroll-timeline-axis property selects the scrolling axis for a named timeline. It distinguishes the logical block and inline axes from the physical x and y axes.
scroll-timeline-name names scroll progress timelines. animation-timeline connects animations to those timelines.
shape-image-threshold selects image pixels used to determine the area around a float that surrounding text avoids.
shape-margin expands the shape-outside contour, moving wrapping text away without enlarging the visible element.
The shape-outside property defines the contour that text wraps around instead of a floated element’s usual rectangular float area.
The shape-rendering property sets priorities for rendering SVG shapes: speed, crisp edges, or geometric precision.
The CSS speak property determines whether text participates in speech rendering. Distinguish the CSS Speech syntax auto | never | always from the historical CSS2 syntax, and verify actual spoken output in the target environment.
The CSS `stop-color` property specifies the color of a `stop` element in an SVG gradient. It sets neither the stop position nor the shape’s color directly.
The CSS `stop-opacity` property controls the opacity of an SVG gradient stop. It applies to `stop` elements, allowing a smooth transition from a transparent color to an opaque one.
The CSS `stroke` property specifies how an SVG shape or text outline is painted. Stroke color is independent of the fill and line width. This entry distinguishes the SVG 2 model from the expanded CSS Fill and Stroke proposal.
The CSS stroke-dasharray property defines the repeating pattern of dashes and gaps along an SVG stroke. It controls their lengths, while none restores a continuous stroke.
The stroke-dashoffset property selects where within a repeating pattern of dashes and gaps an SVG stroke begins. It changes the dash phase, not the position or length of the path.
The CSS stroke-linecap property sets stroke endings to flat, rounded, or square shapes. In SVG it affects the ends of open subpaths and individual dashes, but it does not control the shape of corners.
The stroke-linejoin property controls corners where SVG stroke segments meet. Learn miter, round, and bevel, how stroke-miterlimit affects pointed joins, and how SVG 2 syntax differs from the proposed CSS extension.
stroke-miterlimit limits how far a sharp stroke corner extends relative to stroke-width. With stroke-linejoin: miter, exceeding the limit replaces the pointed join with a bevel.
The CSS `stroke-opacity` property controls the opacity of stroke painting independently of the fill. It accepts a number or percentage, is inherited, and has an initial value of `1`.
The CSS stroke-width property sets the thickness of strokes on SVG shapes and text. It is inherited and accepts a nonnegative length, percentage, or number in SVG user units. Setting the thickness alone does not give the stroke a color.
The `table-layout` property selects automatic or fixed table layout. It controls whether cell content influences column widths; it does not set row heights.
The tab-size property sets the spacing between tab stops for preserved tab characters. It accepts a nonnegative number or length and requires white-space settings that preserve tabs.