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-initial-target — initial scrolling target

The scroll-initial-target property identifies an element that determines its nearest scroll container’s initial scroll position.

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

scroll-margin — spacing when scrolling to an element

scroll-margin defines offsets around an element for scroll-into-view operations and scroll snapping, without changing layout spacing.

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

scroll-margin-block — logical scroll margin

scroll-margin-block sets outsets around a scrolling target at the start and end of the block axis without changing element layout.

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

scroll-margin-block-end — block-end scrolling outset

scroll-margin-block-end defines an outset of an element’s scroll snap area on the block-end side. It affects scrolling alignment without creating spacing in layout.

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

scroll-margin-block-start — offset a scroll target at block start

scroll-margin-block-start sets an offset for a scroll target's area on its block-start side. It does not create layout spacing; which physical side it affects depends on writing-mode.

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

scroll-margin-bottom — bottom offset for scrolling

scroll-margin-bottom adjusts an element’s bottom area boundary for scrolling into view and scroll snapping, without changing layout.

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

scroll-margin-inline — logical scrolling offsets

This shorthand sets target-area offsets at the start and end of the inline axis without changing element layout.

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

scroll-margin-inline-end — inline-end scroll outset

scroll-margin-inline-end sets an outset on the inline-end side of an element's scroll alignment area. It does not add an ordinary margin or change layout.

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

scroll-margin-inline-start — logical scrolling offset

scroll-margin-inline-start specifies an offset for an element's scrolling target area on the inline-start side. It does not create layout spacing, and its physical side depends on the writing direction.

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

scroll-margin-left — left-side spacing when scrolling to an element

scroll-margin-left offsets the left edge of the area used to align an element during scrolling. It does not create an ordinary layout margin; it helps leave space to the left of the target.

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

scroll-margin-right — right-side scrolling offset

scroll-margin-right sets the physical right-side outset of an element's area used when scrolling to it, without changing layout.

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

scroll-margin-top — top offset for scrolling

scroll-margin-top specifies the top outset of an element's area used for scrolling it into view and snapping. It does not create spacing in page layout.

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

scroll-marker-group — grouping scroll markers

The scroll-marker-group property enables a generated group of scroll markers and specifies its position and interaction mode.

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

scroll-padding — scrolling-region insets

scroll-padding defines a preferred viewing region inside a scroll container without changing element layout.

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

scroll-padding-block — inset the scrolling target region

scroll-padding-block sets optimal viewing region offsets at the start and end of a scroll container's block axis without changing element layout.

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

scroll-padding-block-end — block-end viewing inset

The scroll-padding-block-end property insets the block-end edge of a scroll container’s optimal viewing region. It is logical: the physical edge depends on the writing mode.

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

scroll-padding-block-start — logical scroll viewing offset

The scroll-padding-block-start property insets the start of a scroll container's optimal viewing region. It helps leave space beside a scrolled target without adding ordinary padding.

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

scroll-padding-bottom — bottom scrolling inset

scroll-padding-bottom insets the bottom edge of a scroll container's optimal viewing region. It helps leave room when scrolling an element into view without changing layout.

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

scroll-padding-inline — inset the scrolling target region

Sets logical insets for the scrolling target region at the start and end of a container’s inline axis.

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

scroll-padding-inline-end — inline-end viewing offset

The scroll-padding-inline-end property defines an inward offset for a scroll container's optimal viewing region at its inline-end edge, without changing content layout.

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

scroll-padding-inline-start — inset at the inline start of the scrolling region

scroll-padding-inline-start sets an inward offset for the optimal viewing region at a scroll container's inline-start edge. It is not ordinary padding; the logical edge depends on writing direction and writing mode.

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

scroll-padding-left — left scroll viewing inset

scroll-padding-left insets the left edge of a scroll container's optimal viewing region without changing element layout.

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

scroll-padding-right — right-side scroll inset

scroll-padding-right insets the right edge of a scroll container's optimal viewing region. It does not add ordinary padding.

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