Better text wrapping using text-wrap
Enhance your text wrapping using text-wrap
. No more lonely words at the end of paragraphs, and titles will look much better.
* {
text-wrap: pretty;
}
h1,h2,h3,h4,h5,h6 {
text-wrap: balance;
/* it works well with text-align: center */
}
More CSS Tips
- Fancy hover effect with anchor positioning Create a navigation menu with a cool hover effect.
- Cut-out shapes using clip-path Invert any kind of polygon shapes following a simple steps.
- No more pixel rounding issues! One line of code to fix all your pixel rounding issues.
- CSS-only background patterns with a minimal code The biggest collection of CSS patterns. One-click to get the code.