Knowledge baseExam Center
ENEnglish
Choose language13

CKTIS / CSS

Knowledge base — CSS

Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.

Entries: 899

CSS

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.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

scroll-snap-stop — stopping at snap positions

The scroll-snap-stop property controls whether relative scrolling may pass over an element’s snap position.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

scroll-snap-type — scroll snapping

This property selects snapping axes and strictness on a scroll container; scroll-snap-align defines the target positions.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

scroll-target-group — grouping scroll markers

The scroll-target-group property groups existing scroll markers, allowing the active navigation link to be highlighted with :target-current.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

scroll-timeline — a named scroll progress timeline

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.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

scroll-timeline-axis — scroll progress axis

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.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

scroll-timeline-name — naming scroll timelines

scroll-timeline-name names scroll progress timelines. animation-timeline connects animations to those timelines.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

shape-image-threshold — alpha threshold for a wrapping shape

shape-image-threshold selects image pixels used to determine the area around a float that surrounding text avoids.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

shape-margin — spacing around a wrapping shape

shape-margin expands the shape-outside contour, moving wrapping text away without enlarging the visible element.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

shape-outside — wrapping around a shape

The shape-outside property defines the contour that text wraps around instead of a floated element’s usual rectangular float area.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

shape-rendering — SVG shape-rendering hints

The shape-rendering property sets priorities for rendering SVG shapes: speed, crisp edges, or geometric precision.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

speak — controlling whether text is spoken

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.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

stop-color — SVG gradient stop color

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.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

stop-opacity — SVG gradient stop opacity

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.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

stroke — painting SVG outlines

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.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate. The usage example passed isolated verification; target-browser compatibility is a separate check.
CSS

stroke-dasharray — stroke dash pattern

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.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate; usage example verification passed
CSS

stroke-dashoffset — shifting a dash pattern

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.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate; usage example verification passed
CSS

stroke-linecap — stroke end shapes

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.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate; usage example verification passed
CSS

stroke-linejoin — stroke join shapes

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.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate; verification is per example (usage: passed)
CSS

stroke-miterlimit — limiting sharp stroke joins

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.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

stroke-opacity — stroke paint opacity

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`.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

stroke-width — SVG stroke thickness

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.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

table-layout — table width layout algorithm

The `table-layout` property selects automatic or fixed table layout. It controls whether cell content influences column widths; it does not set row heights.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, verification passed for this version of the usage example
CSS

tab-size — spacing between tab stops

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.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required