Frontend Masters Boost RSS Feed https://frontendmasters.com/blog Helping Your Journey to Senior Developer Fri, 08 Dec 2023 17:27:47 +0000 en-US hourly 1 https://wordpress.org/?v=6.6.1 225069128 Pretty vs Balanced https://frontendmasters.com/blog/pretty-vs-balanced/ https://frontendmasters.com/blog/pretty-vs-balanced/#respond Fri, 01 Dec 2023 20:19:12 +0000 http://rc.frontendmasters.com/blog/?p=212 Stephanie Stimac:

Use text-wrap: balance; on headings and subheadings. And use text-wrap: pretty; on paragraphs of text to get rid of orphans on the last line. Despite the Chromium-only support, these would be a good candidate for progressive enhancement.

The performance impact is generally negligible but there in extreme conditions.

Top: Unstyled / Bottom: Balanced
Left: Unstyled / Right: Pretty

]]>
https://frontendmasters.com/blog/pretty-vs-balanced/feed/ 0 212