Classless section
Minium adds spacing between these elements.
Layout
css/base.css styles semantic page landmarks and adds vertical spacing to classless content landmarks.
Place <header> first and <footer> last among the direct children of <body>. Minium then applies surface colors, borders, and spacing to both landmarks. It also applies margin-block-start: auto to the footer so that it remains at the bottom of short pages.
This documentation page uses the same pattern.
<body>
<header>Site header</header>
<main>Page content</main>
<footer>Site footer</footer>
</body>
Classless main, article, and section elements add --flow-space between consecutive direct children:
> * + * { margin-block-start: var(--flow-space); }
Minium adds spacing between these elements.
Add .flow-loose to replace the default flow spacing with larger spacing.
This section has larger spacing between its direct children.