{
  "id": "balanced-headline",
  "name": "Balanced Headline",
  "category": "text",
  "tags": [
    "text-wrap",
    "balance",
    "pretty",
    "typography",
    "orphans"
  ],
  "description": "Evens out the line lengths of headings and avoids lonely last words in paragraphs.",
  "url": "https://copy-css.com/snippets/balanced-headline",
  "markdown": "https://copy-css.com/snippets/balanced-headline.md",
  "html": "<div class=\"balanced\">\n  <h2>Ship faster with tiny, reusable CSS building blocks</h2>\n  <p>Short paragraphs look better without a single word stranded on the last line.</p>\n</div>",
  "css": "/* Headings: balance line lengths */\n.balanced h1,\n.balanced h2,\n.balanced h3 {\n  text-wrap: balance;\n}\n\n/* Body text: avoid a single word on the last line */\n.balanced p {\n  text-wrap: pretty;\n}",
  "features": [
    "balanced text wrapping"
  ],
  "customProperties": []
}
