Skip to content

Instantly share code, notes, and snippets.

@TrekSoft
Last active February 8, 2022 23:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TrekSoft/941254bebe55dc544cc60286d690ff8b to your computer and use it in GitHub Desktop.
Save TrekSoft/941254bebe55dc544cc60286d690ff8b to your computer and use it in GitHub Desktop.
Render two copies of the footer - CSS
.footer--floating {
position: absolute;
bottom: 12px;
left: 12px;
right: 12px;
padding: 12px;
background-color: white;
border-radius: 8px;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.15);
z-index: 99;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment