---
title: "💭 Chris Coyier on Twitter: \"I was unaware of `text-wrap: pretty;..."
description: "!https://twitter.com/chriscoyier/status/1681407724993798144"
date: 2023-07-28
published: true
tags:
  - webdev
  - css
  - thought
template: link
---


<div class="embed-card embed-card-external">
  <a href="https://twitter.com/chriscoyier/status/1681407724993798144" class="embed-card-link" target="_blank" rel="noopener noreferrer">
    <div class="embed-card-content">
      <div class="embed-card-title">External Link</div>
      <div class="embed-card-meta">X (formerly Twitter) &middot; twitter.com</div>
    </div>
  </a>
</div>



Next time I'm working with large headers on small screens I need to try this.  I always truggle to get them to look good for most text and overflow ridiculously long words correctly or at all.


``` css
text-wrap: pretty;
text-wrap: balance
```

!!! note

    This post is a <a href="/thoughts/" class="wikilink" data-title="Thoughts" data-description="These are generally my thoughts on a web page or some sort of url, except a rare few don&#39;t have a link. These are dual published off of my..." data-date="2024-04-01">thought</a>. It's a short note that I make
    about someone else's content online <a href="/tags/thoughts/" class="hashtag-tag" data-tag="thoughts" data-count=2 data-reading-time=3 data-reading-time-text="3 minutes">#thoughts</a>
