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

text-align — aligning line content

`text-align` aligns inline content inside a block container. Logical values `start` and `end` account for text direction; the property does not center the block itself.

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

text-align-last — last-line alignment

The text-align-last property controls alignment of a block’s last line and lines immediately before forced breaks. It lets those lines use a different alignment from the remaining lines.

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

text-anchor — anchoring SVG text

The text-anchor property determines whether the start, middle, or end of an SVG text chunk aligns with its anchor point.

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

text-autospace — automatic contextual spacing

`text-autospace` controls spacing at boundaries between character classes and around punctuation without changing content or text copied as plain text.

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

text-box — trimming the text box

The text-box shorthand sets text-box-trim and text-box-edge, selecting which edges to trim and which font metrics define their boundaries.

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

text-box-edge — text box trimming metrics

The text-box-edge property selects the font metrics used by text-box-trim. It does not enable trimming by itself or fit the box to the actual outline of each letter.

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

text-box-trim — trimming text box edges

The text-box-trim property trims a text box to metrics selected by text-box-edge, rather than removing characters or whitespace.

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

text-combine-upright — horizontal text within vertical text

text-combine-upright combines characters into a horizontal fragment occupying one character space in vertical text.

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

text-decoration — decorative text lines

The text-decoration shorthand sets the kind, style, color, and thickness of decorative text lines. Omitted components reset to their initial values.

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

text-decoration-color — text decoration line color

The text-decoration-color property sets the color of underlines, overlines, and strike-throughs independently of the letters. It does not enable any line by itself.

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

text-decoration-line — choosing text decoration lines

The text-decoration-line property selects underlines, overlines, or strike-throughs. Lines can be combined; none on a descendant does not remove a decoration originating from an ancestor.

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

text-decoration-skip-ink

Controls gaps in underlines and overlines where they cross glyph shapes; it does not create decorations.

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

text-decoration-style — text decoration line pattern

The text-decoration-style property sets the pattern of an underline, overline, or strike-through. It does not enable a decoration itself: text-decoration-line selects the line.

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

text-decoration-thickness — decoration line thickness

The text-decoration-thickness property sets underline, overline, and strike-through thickness, but does not enable decorations itself.

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

text-emphasis — text emphasis marks

The CSS `text-emphasis` shorthand sets the style and color of small emphasis marks beside text, especially in East Asian typography. It neither sets nor resets their position.

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

text-emphasis-color — emphasis mark color

The text-emphasis-color property sets the color of emphasis marks beside text, independently of the letters' color. It is inherited, and its initial value, currentcolor, makes the marks follow the color property.

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

text-emphasis-position — emphasis mark placement

The text-emphasis-position property selects which side of text receives emphasis marks. It specifies separate positions for horizontal and vertical typographic modes; it does not enable marks by itself.

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

text-emphasis-style — emphasis mark styling

The text-emphasis-style property sets the shape and fill of emphasis marks beside text. It is inherited; none disables the marks.

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

text-fit — scaling text to a line

The experimental text-fit property scales text after line wrapping. It selects growth or shrinkage, controls whether lines share a scale factor, and accepts a percentage limit.

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

text-indent — text indentation

text-indent sets the indentation of the first formatted line of text. It does not move the whole block like a margin or add space to every line like padding.

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

text-justify — text justification method

The text-justify property selects how spacing is distributed in a justified line. It does not enable justification itself: it needs an appropriate alignment, usually text-align: justify. Its methods distinguish spacing at word separators from spacing between typographic character units.

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

text-orientation — text orientation

The text-orientation property controls character orientation in vertical typesetting. It does not establish vertical layout itself.

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

text-overflow — indicating overflowing text

The text-overflow property controls how content extending beyond a line edge is presented: clipping or an ellipsis. It does not constrain the width or create overflow by itself.

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

text-rendering — text rendering priorities

text-rendering hints at priorities for SVG text: speed, legibility, or geometric precision. It does not guarantee a particular appearance.

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