css.properties

container-type

The container-type property specifies the type of container for container queries.

Formal Syntax

normal | [ [ size | inline-size ] || scroll-state ]

See specification

JavaScript Access

// Access via element.style
element.style.containerType = 'normal';

Browser Support

standard | MDN · Spec

FeatureChromeFirefoxSafariEdge
container-type10511016105
anchored143143
inline-size10511016105
normal10511016105
scroll-state133133
size10511016105
weak_containment12913318.4129

Related Properties