Knowledge baseExam Center
ENEnglish
Choose language13

CKTIS / Knowledge base

Knowledge base

Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.

Entries: 5788

CSS

view-transition-name — naming an element in a view transition

The view-transition-name property marks an element for independent capture during a view transition. Matching names pair its old and new visual states; the declaration alone does not start a transition.

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

view-transition-scope — isolating view transition names

The view-transition-scope property sets a discovery boundary for view-transition-name values when transitions originate outside a subtree.

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

visibility — hiding without removing layout space

The visibility property controls whether an element’s boxes are visible. hidden hides them while preserving layout space, and a descendant with visible can remain visible. collapse has layout-context-dependent behavior.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate; usage example matched expected output in isolated Chromium 157.0.8103.51
CSS

white-space — whitespace handling and text wrapping

The white-space property controls how the browser processes spaces, tabs, and source line breaks, and whether text may wrap automatically. It changes rendering rather than the document’s underlying data.

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

white-space-collapse — collapsing white space

The white-space-collapse property controls spaces, tabs, and segment breaks in text. It lets you configure white-space preservation independently of automatic line wrapping.

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

widows — minimum lines after a break

The `widows` property sets the minimum number of a block’s lines to keep together after a page or column break. It constrains fragmentation, not ordinary text wrapping.

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

width — an element’s preferred width

The width property specifies an element box’s preferred physical width. It accepts lengths, percentages, and auto, among other values; the final size also depends on box sizing, constraints, and layout.

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

will-change — anticipating rendering changes

The `will-change` property warns the browser about upcoming changes. It neither starts animations nor guarantees faster rendering.

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

window-drag — window dragging region

window-drag defines an area for moving an application window, not a page element. The property comes from the CSS UI Level 4 working draft.

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

word-break — word-breaking rules

The word-break property controls permitted wrapping points between letters and within words. It adjusts rules for different writing systems and is distinct from emergency wrapping with overflow-wrap.

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

word-spacing — additional spacing between words

The word-spacing property changes the spacing added to word separators, not the spacing between letters. It is inherited; normal preserves the spacing supplied by the font.

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

writing-mode — text layout direction

The writing-mode property selects horizontal or vertical lines and the direction in which successive lines and blocks stack. It does not replace control over text direction or character orientation.

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

x — SVG horizontal coordinate

The CSS `x` property sets an SVG element's horizontal coordinate. It accepts a length or a percentage of the current SVG viewport's width.

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

y — vertical coordinate in SVG

The CSS `y` property sets the vertical position coordinate of selected SVG elements. It accepts a length or a percentage of the current SVG viewport height; it is not a general-purpose positioning property for HTML elements.

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

z-index — stacking order

The z-index property sets a box’s level within a stacking context. Larger numbers place it closer to the viewer, but only within the same context; a high value cannot let a descendant escape its ancestor’s stacking context.

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

zoom — scaling that affects layout

The `zoom` property scales an element and affects layout. It accepts the keyword `normal`, a nonnegative number, or a nonnegative percentage.

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

::-webkit-calendar-picker-indicator — date or time picker indicator

A nonstandard pseudo-element for styling the indicator that opens a native date or time picker. It targets part of the control, not the popup panel, and requires testing in the target browser.

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

WebKit number input spin-button pseudo-elements

`::-webkit-inner-spin-button` styles the inner spin control of a number input in supporting browsers. `::-webkit-outer-spin-button` targeted a separate control in a historical WebKit implementation. Neither selector is standard or portable.

Intermediate · Non-standard WebKit-prefixed CSS pseudo-elements. The outer selector is documented here for the historical WebKit implementation bundled with Qt 4.8; this does not establish support in current browsers.
CSS

:active — activation pseudo-class

The :active pseudo-class matches an element during user activation, such as while a mouse button is held down on a button. It describes a temporary state, not a persistent selection.

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

:active-view-transition — an active view transition

The :active-view-transition pseudo-class matches the scoping element of an active view transition: the document root for a document-scoped transition, or the element defining the scope for an element-scoped transition. It lets styles depend on that state without checking the transition type.

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

:active-view-transition-type() — select by transition type

This pseudo-class matches the element that scopes an active view transition if the transition has at least one of the specified types.

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

::after — generated content after an element's content

The ::after pseudo-element creates styleable content after an element's actual content, but inside the element. The content property specifies that content. The :after spelling is equivalent legacy syntax retained for compatibility.

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

:any-link — any hyperlink

The `:any-link` pseudo-class selects hyperlinks whether or not they have been visited. In HTML, it matches `a` and `area` elements with an `href` attribute.

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

Attribute presence selector

The [attr] selector matches elements with the named attribute, regardless of its value, including an empty value.

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