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.
CKTIS / CSS
Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.
`anchor()` calculates a length to a selected side of a real anchor box and uses it to place an absolutely positioned box.
`anchor-size()` calculates a length from a real anchor box dimension for a dependent absolutely positioned element.
asin() maps a sine in the domain −1 through 1 to a principal angle from −90 through 90 degrees.
atan() maps any finite number to a principal angle from −90 through 90 degrees.
atan2() derives an angle from two dimensionally compatible components while retaining quadrant information.
`attr()` substitutes an attribute value from the same element into a CSS property, optionally parsing it as a requested type.
`blur()` applies a Gaussian blur to an input image, using its length as the standard deviation rather than a shadow radius.
`brightness()` is a filter function that multiplies the input image’s color components, making it darker or brighter without changing its layout-box size.
`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.
`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.
`circle()` describes a circle using one radius and an optional `at` center, resolved in the coordinate system of the reference box.
`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.
`color()` writes a color in a named color space, supplying that space’s components and an optional slash-separated alpha.
`color-mix()` interpolates a list of colors in an explicit color space using supplied percentage weights, returning a CSS color.
`conic-gradient()` creates an image whose color changes with the angle of a ray rotating around a specified center.
`contrast()` scales RGB components away from or toward the midpoint, increasing or decreasing the difference between light and dark tones.
`contrast-color()` chooses a text color that contrasts with a supplied solid background color; it is an experimental specification surface at risk of change.
`cos()` computes the cosine of one angle or of a number interpreted as radians and returns a dimensionless number.
`counter()` converts the innermost value of a named CSS counter to text or an image using a selected counter style.
`counters()` formats every counter of the same name from outermost to innermost and joins their representations with a supplied separator.
`cross-fade()` defines an image made by weighted blending of one or more images or colors, painted in premultiplied sRGB.
`cubic-bezier()` maps input progress to output progress using two control points of a cubic Bézier curve.
`drop-shadow()` paints a shifted and optionally blurred copy of the input image’s alpha mask in a chosen color beneath the input.
`dynamic-range-limit-mix()` mixes dynamic-range limits as shares of headroom above HDR Reference White and sets the element’s display limit.