Web platform features explorer

stretch

The stretch CSS keyword expands a box as needed to fit its contents until the maximum size is reached, without preserving the content's preferred aspect ratio.

Status

Limited availability

MDN documentation

Browser support