contain-intrinsic-size

Baseline 2023

Newly available

Since September 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

La propriété CSS contain-intrinsic-size contrôle la taille naturelle d'un élément spécifié par content-visibility.

Syntaxe

css
/* Valeurs de longueur */
/* Type <length> */
contain-intrinsic-size: 1000px;
contain-intrinsic-size: 10rem;

/* Valeurs relatives */
/* Type <percentage> */
contain-intrinsic-size: 10%;

/* Valeurs globales */
contain-intrinsic-size: inherit;
contain-intrinsic-size: initial;
contain-intrinsic-size: revert;
contain-intrinsic-size: unset;

Spécifications

Specification
CSS Box Sizing Module Level 4
# propdef-contain-intrinsic-size

Compatibilité des navigateurs

BCD tables only load in the browser

Voir aussi