Day 10: Footer πŸ‘‡

A footer is a component that sits at the bottom of every page. It usually consists of navigation and additional information, like website copyright and legal links.

The example component is visible below.

A few notes about this footer component:

  • CSS Variables are used for colors,
  • CSS Flexbox is used for layout,
  • the gap property is used to add spacing between flex items,
  • text-decoration-style and text-decoration-thickness properties are used to style the link hover state.

The code:

<div class="advent-footer">
<li><a href="/#home">πŸŽ„ πŸŽ„ πŸŽ„</a></li>
<li><a href="/#home">Home</a></li>
<li><a href="/#blog">Blog</a></li>
<li><a href="/#portfolio">Portfolio</a></li>
<li><a href="/#about">About</a></li>
<li><a href="/#contact">Contact</a></li>
<li><a href="/#search">Search</a></li>
<p>&copy; December 2021, Santa Claus</p>
.advent-footer {
--color-xmas-alpha: #f7efef;
--color-xmas-beta: #d72621;
--color-xmas-gamma: #639565;
background-color: var(--color-xmas-beta);
color: var(--color-xmas-alpha);
border-top: .2em solid var(--color-xmas-gamma);
padding: 1rem;
text-align: center;

.advent-footer ul {
list-style: none;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 1rem;
padding: 0;
margin: 0;

.advent-footer p {
font-size: 1ch;

.advent-footer a {
color: inherit;
text-decoration: none;

.advent-footer a:hover,
.advent-footer a:focus,
.advent-footer a:active
text-decoration: underline;
text-decoration-style: wavy;
text-decoration-thickness: from-font;

Advent of UI Components πŸŽ„

Check other UI Components.

Day 24: Details 🎹

A details component contains the summary and the complete information, which could be toggled between visible and hidden states.
Check the component

Day 23: Radio πŸ“±

A radio component is a form item used when only one selection is possible in a group of mutually exclusive choices.
Check the component

Day 22: Checkbox 🧦

A checkbox component is a form item used when multiple selectable objects are in a list.
Check the component

Day 21: Notification 🀫

A notification component usually displays a message that communicates information to the user.
Check the component

Day 20: Code block πŸ’»

A code block UI component represents a block of code that is formatted neatly.
Check the component

Day 19: Pagination πŸ“–

Pagination helps users browse through the sequence of related content.
Check the component

Day 18: Social share πŸ”—

A social share is a component that displays anchors holding social sharing links of a current page.
Check the component

Day 17: Card 🎴

A card component usually displays an image and extra information in card-like format.
Check the component

Day 16: Table 🎢

A table is used to display tabular data.
Check the component

Day 15: Breadcrumb 🍞

A breadcrumb is an element that helps users understand the hierarchy of the page and site.
Check the component

Day 14: Blockquote πŸ’¬

A blockquote is used to highlight a quote on a page.
Check the component

Day 13: List πŸ—’οΈ

An (unordered) list usually consists of items displayed as bullets.
Check the component

Day 12: Figure πŸ–ΌοΈ

A figure element represents a graphic asset with an optional caption.
Check the component

Day 11: Video Embed πŸ“Ί

A video embed is a code snippet that allows us to embed the video from a third-party platform like YouTube or Video to our site.
Check the component

Day 10: Footer πŸ‘‡

A footer is a component that sits at the bottom of every page. It usually consists of navigation and additional information, like website copyright and legal links.
Check the component

Day 9: Header ☝️

A header usually consists of navigation that has links to different parts of the website.
Check the component

Day 8: Hero πŸ¦Έβ€β™‚οΈ

A hero component usually displays the page title, description, and, sometimes, a CTA.
Check the component

Day 7: Intro πŸ’¬

An intro components usually provides basic information of the page. It is one of the first components on the page.
Check the component

Day 6: Horizontal Rule 〰️

A horizontal rule is usually used as a visual divider between two textual elements.
Check the component

Day 5: Split πŸ’”

A split component consists of two elements, usually image and text, sitting next to each other horizontally.
Check the component

Day 4: Banner 🚩

A banner is an element that serves to highlight information, like a website page or an event or Advent of UI Components.
Check the component

Day 3: Gallery 🍿

Galleries are an inevitable part of every respected site. Here's a Christmas gallery.
Check the component

Day 2: Tag 🎁

Tags often represent information like category, state, or additional information.
Check the component

Day 1: Button πŸŽ…

Let's start with a classic button. Every website needs one, right?
Check the component