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

flood-opacity — SVG filter color opacity

The flood-opacity property controls the opacity of the color generated by feFlood and the shadow color of feDropShadow in SVG filters.

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

font — font shorthand property

The font property sets several font parameters in one declaration. Its ordinary form requires a size and family; omitted components are reset rather than preserving earlier settings.

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

font-family — a list of font families

The font-family property specifies a prioritized list of font families. The browser selects an available font that supports the text, falling back to later entries when necessary.

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

font-feature-settings — low-level OpenType feature control

font-feature-settings controls OpenType features using tags and values. It mainly serves settings unavailable through higher-level properties; the visual effect depends on the font.

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

font-kerning — metric kerning

font-kerning controls glyph-spacing adjustments using font data. It does not set uniform spacing between letters.

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

font-language-override — overriding a font’s language system

The font-language-override property selects an OpenType language system independently of the content language. It does not replace lang.

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

font-optical-sizing — optical type adjustment

font-optical-sizing controls adjustment of glyph shapes to text size when the font supplies suitable optical variants.

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

font-palette — selecting a font palette

The font-palette property selects a font’s color palette. It is inherited and has the initial value normal.

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

font-size — font size

The font-size property sets the font size and is inherited. Percentages and em in this property refer to the parent's font size, while rem refers to the root element's font size.

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

font-size-adjust — normalizing font metrics

The font-size-adjust property scales the font in use according to a selected metric, such as x-height. It helps preserve a similar apparent text size with fallback fonts without changing the computed font-size.

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

font-stretch — selecting a font face width

font-stretch selects a narrower or wider face within a font family instead of geometrically stretching text. Its visual effect depends on the available faces.

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

font-style — selecting a font face style

The font-style property selects an upright, italic, or oblique face. It is inherited; the actual appearance depends on the available fonts.

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

font-synthesis — controlling synthetic font variants

font-synthesis controls replacement font variants when suitable faces or glyphs are missing. It does not disable genuine bold or italic faces.

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

font-synthesis-small-caps — controlling small-cap synthesis

The font-synthesis-small-caps property allows or forbids synthetic small caps without disabling genuine small-cap glyphs supplied by a font.

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

font-synthesis-style — controlling synthetic slant

font-synthesis-style determines whether the browser may artificially slant glyphs when a suitable font face is missing. It does not replace font-style.

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

font-synthesis-weight — controlling synthetic bold

The font-synthesis-weight property permits or blocks synthetic bold when a font family lacks a bold face.

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

font-variant — typographic variants shorthand

font-variant sets typographic variants such as small capitals, ligatures, and tabular figures. As a shorthand, it also resets omitted component properties.

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

font-variant-alternates — alternate glyphs

The font-variant-alternates property selects alternate glyphs available in a font without changing the text's characters.

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

font-variant-caps — capital variants

font-variant-caps selects small capitals and other letter variants within a typeface. Its appearance depends on available glyphs and possible synthesis.

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

font-variant-east-asian — East Asian glyph variants

The font-variant-east-asian property selects East Asian glyph forms and widths when the font provides the requested features.

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

font-variant-emoji — emoji presentation

font-variant-emoji selects the default text or emoji presentation for eligible Unicode characters.

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

font-variant-ligatures — controlling ligatures

The font-variant-ligatures property controls ligatures and contextual alternates available in a font. It is inherited.

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

font-variant-numeric — numeric variants

font-variant-numeric selects typographic forms for digits, fractions, and ordinal markers. Its visible effect depends on features available in the font being used.

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

font-variant-position — typographic subscripts and superscripts

The font-variant-position property selects subscript or superscript glyphs without shifting the text baseline. Its appearance depends on the font’s available glyphs and any synthesis performed by the browser.

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