0.7.4 gives the Ambient pack weather. A page names one feed URL on its own site, and the pack sets data-weather from it, uses its sunrise and sunset for dawn and dusk, and never shows a stale observation. Helpers for producing the feed from Open-Meteo are included. Ambient p…
Footer content for its nearest sectioning ancestor. Contains information about the author, copyright, related links, or metadata about the section.
Usage
Use the <footer> element for:
Site-wide footer with navigation, copyright, and contact info
Article footer with author info, tags, and share links
Section footer with related content or actions
Card footer with actions or metadata
A page can have multiple footer elements: one for the document and additional ones within articles, sections, or other sectioning content.
Examples
Default
Basic footer without additional styling.
Default footer
<footer><p>Copyright 2026 Acme Corp. All rights reserved.</p></footer>
.site
Full-width site footer with raised background. Links inside the footer's <nav> and lists are muted and un-underlined, brightening on hover and keyboard focus; links in running text (a copyright or credits line) keep the default underline so they aren't distinguished by colour alone.
Site footer
<footerclass="site"><navaria-label="Footer navigation"><ulclass="inline"><li><ahref="#">About</a></li><li><ahref="#">Contact</a></li><li><ahref="#">Privacy</a></li><li><ahref="#">Terms</a></li></ul></nav><p><small>Copyright 2026 Vanilla Breeze. Built with <ahref="/docs/">Vanilla Breeze</a>.</small></p></footer>
.article
Article footer with border and muted text.
Article footer
<article><h3>Article Title</h3><p>Article content goes here...</p><footerclass="article"><p>Written by Jane Doe on<timedatetime="2026-01-15">January 15, 2026</time></p><p>Tags: HTML, CSS, Web Development</p></footer></article>
.card
Card footer with border and raised background, for card-like containers that don't style their own footer (such as article.card). <layout-card> already pads and borders a direct-child <footer>, so a plain <footer> is enough there.
Card footer
<articleclass="card"><h3>Card Title</h3><p>Card content with some description text.</p><footerclass="card"><buttontype="button">Action</button></footer></article><!-- layout-card styles its own footer: no class needed --><layout-card><header><h3>Card Title</h3></header><section><p>Card content.</p></section><footer><buttontype="button">Action</button></footer></layout-card>
.minimal
Simple centered footer with small text.
Minimal footer
<footerclass="minimal"><p>Made with care by the Vanilla Breeze team</p></footer>
Pins the footer to the bottom of its scroll container — useful for form actions and persistent calls to action. On mobile it rises above the virtual keyboard via env(keyboard-inset-height). See data-sticky for coordinating sticky headers and footers page-wide. In print, sticky footers return to normal flow.
Full-width with generous padding and raised background
.article
Top border with muted, smaller text for article metadata
.card
Top border with raised background for card actions (not needed inside <layout-card>)
.minimal
Centered, small, muted text for simple footers
.columns
Auto-fit grid layout for multi-column site footers
[data-sticky]
Sticks to the bottom (above the virtual keyboard) with background and top border; static in print
Accessibility
A <footer> is exposed as the contentinfo landmark only when it is scoped to <body> — that is, it has no <article>, <aside>, <main>, <nav> or <section> ancestor. Non-sectioning wrappers, including VB layout custom elements such as <layout-stack> at body level, don't change this. A footer inside one of those elements is a plain section footer with no landmark role.
Keep one body-level footer per page so there is a single contentinfo landmark
Use <nav> with aria-label="Footer navigation" for footer nav sections
Ensure sufficient color contrast for muted footer text
Footer links should be keyboard accessible and have visible focus states
Related
<header> - Complementary element for introductory content
<article> - Footer often contains article metadata