text-wrap
The text-wrap
CSS property sets how lines break in text that overflows the container. It is a shorthand for text-wrap-style
and text-wrap-mode
.
Status
Baseline Newly Available (since 2024-03-19)
This feature is expected to reach Baseline Widely Available status on: 2026-09-19
MDN documentation
Specifications
Browser support
- Chrome 114 Released on 2023-05-30
- Chrome Android 114 Released on 2023-05-30
- Edge 114 Released on 2023-06-02
- Firefox 124 Released on 2024-03-19
- Firefox for Android 124 Released on 2024-03-19
- Safari 17.4 Released on 2024-03-05
- Safari on iOS 17.4 Released on 2024-03-05
Usage (according to Chrome Platform Status)
~18.124% of page loads. More data at chromestatus.
Interop
- Included in Interop 2024
Web Platform Tests (WPT)
View the latest WPT test results for this featureView as JSON | Edit this feature | Report an issue | Web-features entry: source, dist