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.
Learning resources on MDN
Browser support
- Chrome ❌
- Chrome Android ❌
- Edge ❌
- Firefox ❌ Vendor position : positive
- Firefox for Android ❌ Vendor position : positive
- Safari ❌ Vendor position
- Safari on iOS ❌ Vendor position
Specifications
View web-platform-tests results for this feature - View the feature source file - Edit the feature - Report an issue about this feature