Skip to content
HTML Templates For Developers

Documentation

Baseline — Footer Templates

Version 1.0.0 · Vanilla HTML · 11 files · 57 KB

Back to the template

Getting started

  1. Unzip the download and open index.html in a browser. No server, installation or build step is needed.
  2. Edit the text directly in the HTML files.
  3. Change colours, fonts and spacing through the CSS custom properties at the top of assets/css/style.css.
  4. Replace the artwork in assets/images/ with your own images.
  5. Upload the whole folder to any static host.

File structure

The download contains these 11 files:

  • LICENSE.txt1.4 KB
  • README.md2.7 KB
  • assets/css/style.css15 KB
  • assets/fonts/albert-sans-LICENSE.txt4.4 KB
  • assets/fonts/albert-sans-latin-wght-normal.woff231 KB
  • assets/images/favicon.svg255 B
  • assets/js/main.js4.2 KB
  • documentation/index.html12 KB
  • documentation/licenses/lucide-LICENSE.txt3.1 KB
  • documentation/licenses/simple-icons-LICENSE.txt6.4 KB
  • index.html20 KB

Colours

These custom properties are defined at the top of the stylesheet. Change a value once and it updates everywhere it is used.

  • --color-bg#f5f6f4
  • --color-surface#ffffff
  • --color-ink#141a16
  • --color-muted#55605a
  • --color-line#e2e6e3
  • --color-accent#15803d
  • --color-accent-strong#166534
  • --color-accent-soft#dcfce7
  • --color-dark#0b100d
  • --color-dark-line#1f2a23
  • --color-dark-muted#a3b0a8
  • --color-error#b91c1c

Interactive features

Newsletter validation

Add data-newsletter to a form with one email input and a paragraph with the class ft__error. In assets/js/main.js, send the value to your mailing-list provider at the marked comment in initNewsletter().

Back-to-top button

Place a link with data-back-to-top and href="#top" anywhere. Set data-show-after to the scroll distance in pixels (default 600). Remove it from the page if you do not want it.

Language selector

The select with data-language-select reports the chosen language in the element marked data-language-note. Replace that handler with your own locale switch or navigate to translated pages.

Customisation notes

Re-theme a footer

Override --ft-bg, --ft-fg, --ft-muted, --ft-line and --ft-accent on the footer's modifier class, the way .ft--cta and .ft--app do. Keep muted text above 4.5:1 contrast against the background.

Copy one footer

Copy its HTML block, then CSS sections 1 to 3 (tokens, base and shared parts) and the section for that footer. Sections 10 and 11 are demo-page styling and the reduced-motion rule.

Change the link columns

Link groups are .ft__col blocks inside .ft__cols. Add or remove one and adjust grid-template-columns in that footer's desktop media query.

Swap the logo

Each brand mark is an inline SVG next to the brand name inside .ft__brand. Replace it with your own SVG or an img with width and height.

What is front-end only

This is a front-end template. The behaviours below are demonstrations that run in the browser; connect them to your own server or service before relying on them.

  • The newsletter form validates the address in the browser and shows a confirmation; it does not send or store the address.
  • The language selector only displays a message; it does not translate the page.
  • The system status pill is static demo text.
  • Brand names, addresses and links are fictional placeholders.

Bundled components and licences

Everything the template needs is inside the download; nothing is loaded from the network.

  • Albert Sans typeface — OFL-1.1 (assets/fonts/albert-sans-LICENSE.txt)
  • Lucide icons (inlined SVG) — ISC (documentation/licenses/lucide-LICENSE.txt)
  • Simple Icons brand marks (inlined SVG) — CC0-1.0 (documentation/licenses/simple-icons-LICENSE.txt)

Changelog

Version 1.0.0 · Nov 23, 2026

  • Initial release.