css.properties

container-name

The container-name property defines the name of a container query context.

Formal Syntax

none | <custom-ident>+

See specification

JavaScript Access

// Access via element.style
element.style.containerName = 'none';

Browser Support

standard | MDN ยท Spec

FeatureChromeFirefoxSafariEdge
container-name10511016105
none10511016105

Related Properties