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

background-size — sizing background images

The background-size property controls background image dimensions, not element dimensions. Supply explicit sizes, use auto, or fit an image with contain or cover.

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

baseline-shift — post-alignment displacement

baseline-shift moves content after baseline alignment or relative to its line box. The example demonstrates shifted SVG text.

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

baseline-source — choosing the baseline source

baseline-source chooses the first or last baseline set of a box participating in baseline alignment.

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

block-size — logical block-axis size

block-size sets an element’s size along the block axis. It corresponds to height in horizontal writing modes and width in vertical writing modes, allowing layouts to adapt to writing-mode.

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

border — border shorthand

The border property sets the width, style, and color of all four borders. Omitted components return to their initial values, and border-image is reset as well.

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

border-block-style — block-axis border styles

border-block-style sets the border styles at the start and end of the block axis. It accepts one or two values; their mapping to physical edges depends on the writing mode.

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

border-block-width — border thickness on the block axis

border-block-width sets border thickness at the start and end of the block axis. One value applies to both edges; two values specify start and end respectively. Their physical positions depend on the writing mode.

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

border-bottom — bottom border

The border-bottom shorthand sets the width, style, and color of the bottom border. Omitted components return to their initial values, so leaving out the style can make the line invisible.

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

border-bottom-color — bottom border color

The border-bottom-color property sets the color of the physical bottom border. It does not set border width or style; its initial currentcolor value uses the element’s color value.

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

border-bottom-left-radius — bottom-left corner radii

The border-bottom-left-radius property sets the radii of the physical bottom-left border corner. One value sets both radii; two values specify the horizontal and vertical radii, respectively.

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