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

svh — small viewport height unit

The svh unit equals 1% of the small viewport height, calculated assuming that retractable browser interface elements are expanded.

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

svmax — the larger small-viewport dimension

The CSS length unit svmax equals 1% of the larger small-viewport dimension. It uses the viewport size with dynamically retractable browser interface elements expanded.

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

svmin — smaller small-viewport dimension

The CSS length unit svmin equals 1% of the smaller small-viewport dimension. It scales an element relative to width or height, assuming that dynamically retractable browser bars are expanded.

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

svw — small viewport width

The svw unit represents 1% of the small viewport width, calculated assuming that dynamically expanding browser interface elements are expanded.

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

turn — angle unit

The `turn` unit expresses an angle as a number of complete revolutions. `1turn` equals `360deg`, and `0.25turn` is a right angle. Use it wherever the CSS syntax accepts an `<angle>`.

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

vb — viewport block-axis unit

The vb unit represents 1% of the large viewport along the element’s block axis. That axis 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

vh — viewport height unit

The CSS unit vh represents 1% of the large viewport height. It makes a length depend on the browser viewport rather than the size of a parent element.

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

vi — viewport inline-axis unit

The vi unit represents 1% of the large viewport’s dimension along the inline axis of the box it applies to. That box’s writing mode determines the axis.

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

vmax — larger viewport dimension unit

The vmax length unit equals 1% of the larger dimension of the large viewport: its width or height. It scales an element relative to the longer axis, regardless of orientation.

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

vmin — the smaller viewport dimension unit

The vmin length unit equals 1% of the smaller dimension of the large viewport. It scales an element against the page viewport’s width and height, not its parent.

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

vw — viewport width unit

The vw unit expresses a length relative to the large viewport width: 1vw is 1% of that width, independently of the parent's width.

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