본문으로 건너뛰기

Max width

Accepted keys

  • --max-width
  • --maxwidth

Syntax

`--max-width=${typeof length}`;

Example

--max-width=100

--max-width=100px

--max-width=400vw

Behavior

Element There is no impact on element itself, but it can break relative layouts.

Style When applied, this will force the node to be rendered with a max-width style.

See Also