Seems like there’ll be no reason not to default to `text-wrap: pretty` for text in a CSS Reset
front-end.social/@jensimmons/114302836749050140
1 reply on Mastodon
-
@armstrong @jensimmons Trying to come up with a snippet for this to add to a reset. Should probably impact all elements where the text is unlikely to need reflowing. Any ideas?
```css
* {
text-wrap: pretty;
}input:not([type="button"], [type="submit"], [type="reset"]),
textarea,
[contenteditable="true"],
[contenteditable],
output {
text-wrap: auto;
}
```