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

anchor() — anchor-side position

`anchor()` calculates a length to a selected side of a real anchor box and uses it to place an absolutely positioned box.

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

anchor-size() — anchor-box size

`anchor-size()` calculates a length from a real anchor box dimension for a dependent absolutely positioned element.

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

asin() — inverse sine

asin() maps a sine in the domain −1 through 1 to a principal angle from −90 through 90 degrees.

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

atan() — inverse tangent

atan() maps any finite number to a principal angle from −90 through 90 degrees.

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

atan2() — angle from two coordinates

atan2() derives an angle from two dimensionally compatible components while retaining quadrant information.

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

attr() — typed attribute value

`attr()` substitutes an attribute value from the same element into a CSS property, optionally parsing it as a requested type.

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

blur() — Gaussian blur

`blur()` applies a Gaussian blur to an input image, using its length as the standard deviation rather than a shadow radius.

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

brightness() — filter brightness multiplier

`brightness()` is a filter function that multiplies the input image’s color components, making it darker or brighter without changing its layout-box size.

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

calc() — CSS value arithmetic

`calc()` evaluates a numeric expression in the property’s calculation context, so it can combine compatible types whose units cannot be reduced to one number in advance.

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

calc-size() — arithmetic on an intrinsic size

`calc-size()` exposes an intrinsic size basis through the `size` keyword and calculates a used size from it, also making size keywords such as `max-content` interpolable.

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

circle() — circular basic shape

`circle()` describes a circle using one radius and an optional `at` center, resolved in the coordinate system of the reference box.

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

clamp() — constraining a value to a range

`clamp()` selects the preferred value but no less than the minimum and no more than the maximum; all arguments must have a consistent calculation type.

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

color() — color in an explicit space

`color()` writes a color in a named color space, supplying that space’s components and an optional slash-separated alpha.

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

color-mix() — mixing in a chosen color space

`color-mix()` interpolates a list of colors in an explicit color space using supplied percentage weights, returning a CSS color.

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

conic-gradient() — angular gradient around a center

`conic-gradient()` creates an image whose color changes with the angle of a ray rotating around a specified center.

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

contrast() — image-filter contrast

`contrast()` scales RGB components away from or toward the midpoint, increasing or decreasing the difference between light and dark tones.

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

contrast-color() — automatic contrasting color

`contrast-color()` chooses a text color that contrasts with a supplied solid background color; it is an experimental specification surface at risk of change.

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

cos() — cosine in CSS calculations

`cos()` computes the cosine of one angle or of a number interpreted as radians and returns a dimensionless number.

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

counter() — one counter value

`counter()` converts the innermost value of a named CSS counter to text or an image using a selected counter style.

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

counters() — nested counter path

`counters()` formats every counter of the same name from outermost to innermost and joins their representations with a supplied separator.

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

cross-fade() — weighted image blending

`cross-fade()` defines an image made by weighted blending of one or more images or colors, painted in premultiplied sRGB.

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

cubic-bezier() — custom easing curve

`cubic-bezier()` maps input progress to output progress using two control points of a cubic Bézier curve.

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

drop-shadow() — shadow from an alpha mask

`drop-shadow()` paints a shifted and optionally blurred copy of the input image’s alpha mask in a chosen color beneath the input.

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

dynamic-range-limit-mix() — weighted HDR limits

`dynamic-range-limit-mix()` mixes dynamic-range limits as shares of headroom above HDR Reference White and sets the element’s display limit.

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