stretch
Limited availability
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.
Learn more
Specifications
Browser support
- Chrome 138 Released on 2025-06-24
- Chrome Android 138 Released on 2025-06-24
- Edge 138 Released on 2025-06-26
- Firefox ❌ Vendor position : positive
- Firefox for Android ❌ Vendor position : positive
- Safari ❌ Vendor position
- Safari on iOS ❌ Vendor position
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist