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

@namespace — namespaces in selectors

The @namespace rule binds a selector prefix to a namespace URI or establishes the default namespace for type selectors.

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

@page — printed-page size and margins

The @page rule controls the size, orientation, margins, and margin boxes of pages produced by a paged-media formatter.

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

@position-try — named fallback position option

The @position-try rule defines a fallback position for an anchored box, selected when the preferred option causes overflow.

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

@property — typed custom-property registration

The @property rule registers a custom property with a value type, inheritance behavior, and an initial value.

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

@right-bottom — page margin box

@right-bottom defines the right / bottom page margin box in paged media; it is generated inside @page rather than matching an element.

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

@right-middle — page margin box

@right-middle defines the right / middle page margin box in paged media; it is generated inside @page rather than matching an element.

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

@right-top — page margin box

@right-top defines the right / top page margin box in paged media; it is generated inside @page rather than matching an element.

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

@scope — selector scope with a lower boundary

The @scope rule restricts nested style-rule matching to a subtree or fragment defined by roots and optional lower limits.

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

@starting-style — transition starting style

The @starting-style rule supplies a before-change style for an element that had no previously rendered style.

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

@supports — conditional CSS rules

The @supports rule activates nested styles only when the engine satisfies the stated support condition.

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

@top-center — page margin box

@top-center defines the top / center page margin box in paged media; it is generated inside @page rather than matching an element.

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

@top-left — page margin box

@top-left defines the top / left page margin box in paged media; it is generated inside @page rather than matching an element.

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

@top-left-corner — page margin box

@top-left-corner defines the top-left / corner page margin box in paged media; it is generated inside @page rather than matching an element.

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

@top-right — page margin box

@top-right defines the top / right page margin box in paged media; it is generated inside @page rather than matching an element.

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

@top-right-corner — page margin box

@top-right-corner defines the top-right / corner page margin box in paged media; it is generated inside @page rather than matching an element.

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

@view-transition — cross-document transitions

@view-transition enables visual transitions for eligible navigations between same-origin documents.

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

Accessibility in CSS

Accessibility in CSS means designing presentation that preserves visible focus and accommodates user needs. It is a practice spanning multiple modules, not a property named accessibility.

Basic · CSS modules; Chromium 152 is the scope of per-example verification, not a general compatibility guarantee.
CSS

CSS specification architecture and feature auditing

CSS evolves as a set of modules rather than one specification with a shared version number. An audit connects the definition index, defining module, pinned compatibility data, and a concrete example test without equating specification inclusion with browser support.

Intermediate · CSS modules; CSSWG indexes identify definitions, pinned compatibility data records implementation support, and the included cascade-layer example passed in isolated Chromium 157.0.8103.51.
CSS

CSS box model and normal flow

The box model describes the content area and its surrounding padding, border, and margin. Learn how box-sizing affects dimensions and why the margins of adjacent blocks do not always add together.

Basic · Specification scope: CSS Box Model Level 3, CSS Box Sizing Level 3, CSS Backgrounds and Borders Level 3, and CSS Level 2. The usage example’s output was verified in Chromium 157.0.8103.51; this test does not establish browser compatibility or minimum supported versions.
CSS

CSS cascade and specificity

The cascade chooses a declaration for a particular property on an element. Specificity is only one criterion: origins, !important, and layers can settle a conflict before selector specificity is compared.

Intermediate · CSS Cascading and Inheritance Levels 5 and 6 and Selectors Level 4 (editor’s drafts). The usage example’s console output was verified in Chromium 157.0.8103.51; this does not establish broader browser compatibility.
CSS

Colors and blending in CSS

Values of type <color> specify colors for text, backgrounds, and borders. An alpha channel controls a color’s transparency, while blend modes describe how its components combine with a backdrop. These are different mechanisms that can work together.

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

CSS custom properties and themes

Custom properties store values consumed by var(). The cascade and inheritance let you share design tokens and override them locally, for example to create a dark theme.

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

Flexbox — flexible one-dimensional layout

Flexbox arranges items along one axis, distributes available space, and controls alignment. Learn about its container, layout axes, wrapping, and the flex shorthand.

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

Forms and controls in CSS

CSS defines the presentation of form controls and responds to their state through pseudo-classes. Preserve HTML semantics and visible focus; native control rendering can differ between browsers and operating systems.

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