Layout
Simple semantic HTML:
<html> <head>[...]</head> <body> <header> <nav></nav> </header> <main> <section></section> </main> <footer></footer> </body> </html>Simple semantic HTML:
<html> <head>[...]</head> <body> <header> <nav></nav> </header> <main> <section></section> </main> <footer></footer> </body> </html><h1>Header</h1><h2>Header</h2><h3>Header</h3><h4>Header</h4><h5>Header</h5><h6>Header</h6><hr>Regular body text
<p>Regular body text</p><small>Small text</small><sup>Superscript text</sup><mark>Marked text</mark><i>Italic text</i>,
<em>emphasized text</em><b>Bold text</b>,
<strong>strong text</strong><ul><li>Unordered list</li></ul><ul><li>Ordered list</li></ul><code>Inline code</code>"this is an awesome quoteblock"
| HTML.digital | Bootstrap | Skeleton CSS | Foundation | |
|---|---|---|---|---|
| Responsive Design | ✓ | ✓ | ✓ | ✓ |
| Progressive Enhancement | ✓ | ✕ | ✕ | ✕ |
| No Learning Curve | ✓ | ✕ | ✕ | ✕ |
| Native Darkmode | ✓ | ✕ | ✕ | ✕ |
| Easy Expandability | ✓ | ✓ | ✓ | ✓ |
| Easy Prototyping | ✓ | ✕ | ✕ | ✕ |
section > asidearticle > asideAll images now has a max width of 100%
You can edit the colour variables in the css file to add your own flair
/* Base color scheme */ :root { --color-primary: #dd0a35; --color-accent: #118bee0b; --color-bg: #fff; --color-bg-secondary: #e9e9e9; --color-secondary: #1687a7; --color-secondary-accent: #920de90b; --color-shadow: #f4f4f4; --color-text: #334252; --color-text-secondary: #999; }Should you wish to enable or alter the darkmode styles, you simply need to uncomment and change the following variables in the css
/* darkmode */ @media (prefers-color-scheme: dark) { :root { --color-primary: #dd0a35; --color-accent: #118bee0b; --color-bg: #121212; --color-bg-secondary: #000; --color-secondary: #20d0ff; --color-secondary-accent: #920de90b; --color-shadow: #000; --color-text: #f4f4f4; --color-text-secondary: #999; } }