Web features explorer

fit-content()

Limited availability
Tags: css Groups: CSS > Layout

The fit-content() CSS function, used outside of a grid layout property, clamps a length between min-content and max-content.

Compatibility