| 1 | <!DOCTYPE html> |
| 2 | <html lang="en"> |
| 3 | <head> |
| 4 | <meta charset="UTF-8"> |
| 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 6 | <title>jefftml’s HTML & CSS Boilerplate</title> |
| 7 | <meta name="description" content="A 2026 starting point for webpages."> |
| 8 | <!-- <link rel="stylesheet" href="style.css"> --> |
| 9 | <style> |
| 10 | :root { |
| 11 | color-scheme: light dark; |
| 12 | } |
| 13 | html { |
| 14 | font-family: sans-serif; |
| 15 | font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); |
| 16 | line-height: 1.7; |
| 17 | -webkit-text-size-adjust: 100%; |
| 18 | text-wrap: pretty; |
| 19 | hanging-punctuation: first last; |
| 20 | } |
| 21 | main { |
| 22 | inline-size: min(68ch, 100%); |
| 23 | margin-inline: auto; |
| 24 | padding-block: 2rem; |
| 25 | } |
| 26 | h1, h2, h3, h4, h5, h6 { |
| 27 | text-wrap: balance; |
| 28 | } |
| 29 | </style> |
| 30 | </head> |
| 31 | <body> |
| 32 | <main> |
| 33 | <h1>Header</h1> |
| 34 | <p>Paragraph</p> |
| 35 | </main> |
| 36 | </body> |
| 37 | </html> |