Open Source CSS Headers and Footers (Free Code + Demos)

Enjoy this 100% free and open source collection of HTML/CSS header and footer code examples. The list includes both fixed and sticky CSS headers.

1. Skewed CSS Header

CSS Headers and Footers - Skewed CSS Header
Author: Arthur Camara (arthurcamara1)
Created on: September 20, 2017
Made with: Pug, Stylus
CSS Pre-processor: Stylus
JS Pre-processor: None
HTML Pre-processor: Pug
Tags: header, skew, gradient, transform, iphone

2. Curve CSS Header

CSS Headers and Footers - Curve CSS Header
Author: Omar Dsooky (linux)
Created on: January 18, 2018
Made with: HTML, CSS, JS
Tags: curve, shadow, gradient, odsoky, omar dsoky

3. Non Rectangular CSS Headers With Inline SVG

CSS Headers and Footers - Non Rectangular CSS Headers With Inline SVG
Author: Paolo Duzioni (Paolo-Duzioni)
Created on: June 27, 2018
Made with: Pug, SCSS
CSS Pre-processor: SCSS
JS Pre-processor: None
HTML Pre-processor: Pug
Tags: inline-svg, non-rectangular headers, cards

4. Header Image Parallax Scrolling Effect With CSS

CSS Headers and Footers - Header Image Parallax Scrolling Effect with CSS
Create a parallax scrolling effect using CSS background-image position. This script works when the header image is positioned at the top of the page. A step by step guide at https://webmadewell.com/header-image-parallax-scrolling-effect-with-css By webmadewell.com
Author: WebMadeWell (webmadewell)
Created on: January 8, 2018
Made with: HTML, CSS, JS
Tags: parallax, css-animation, jquery

5. Hover Effect For Headers

CSS Headers and Footers - Hover Effect for Headers
Featuring the most amazing things you can find on earth. Scroll may be a bit janky due to CSS Scroll Snap - not as smooth as I'd thought it'd be but still awesome. Images from pexels.com.
Author: Olivia Ng (oliviale)
Created on: February 25, 2019
Made with: Pug, SCSS, JS
CSS Pre-processor: SCSS
JS Pre-processor: None
HTML Pre-processor: Pug

6. Fixed Angled Header Using A CSS Pseudo-Element

CSS Headers and Footers - Fixed Angled Header using a CSS Pseudo-Element
This pen shows how CSS pseudo-elements and transforms can be used to create a fixed, angled header with an image background.
Author: George W. Park (GeorgePark)
Created on: January 6, 2018
Made with: HTML, CSS
Tags: css, layout, header, fixed, transform

7. Curve SVG Background Animation

CSS Headers and Footers - Curve SVG Background Animation
Author: Arman (armantaherian)
Created on: July 16, 2017
Made with: HTML, SCSS, JS
Tags: svg, animation, curve

8. Header For Landing Page Using Clip Path.

CSS Headers and Footers - Header for landing page using clip path.
Author: Gerardo Valencia (grardovr)
Created on: February 26, 2018
Made with: HTML, CSS

9. Software Company Header/About

CSS Headers and Footers - Software Company Header/About
A simple header for a software company searching people to work with.
Author: Jorge Reyes (jorgert1205)
Created on: February 11, 2019
Made with: HTML, SCSS
Tags: landing, header, button, simple, minimal

10. Flexbox Full Hero With Button

CSS Headers and Footers - Flexbox Full Hero With Button
Author: Alan Tucker (alantucker)
Created on: February 2, 2017
Made with: HTML, SCSS
Tags: flexbox, hero

11. 🌈 Sexy Animated Rainbow Waves Header

CSS Headers and Footers - 🌈 Sexy Animated Rainbow Waves Header
Just a little front-end UI experiment. I needed a bit of color in my life! 🌈
Author: Jeffrey Bennett 😃 (PickJBennett)
Created on: September 4, 2017
Made with: HTML, CSS, JS
Tags: sexy, rainbow, animated, css, header

12. Sticky Header On Scroll

CSS Headers and Footers - Sticky Header on Scroll
High performance sticky header with shadow on scroll.
Author: Marco Biedermann (marcobiedermann)
Created on: July 1, 2017
Made with: HTML, PostCSS, Babel
Tags: sticky, header, scroll, material

13. Sticky Headers Be Sticky

CSS Headers and Footers - Sticky Headers be Sticky
Sticky Headers be Sticky but shit, I made a menu too.
Author: Joshua Ward (joshuaward)
Created on: February 8, 2019
Made with: Pug, SCSS, JS
CSS Pre-processor: SCSS
JS Pre-processor: None
HTML Pre-processor: Pug

14. Footer With CSS Grid

CSS Headers and Footers - Footer with CSS Grid
Evenly space links with CSS Grid. No margin or padding needed!
Author: Jules Forrest (julesforrest)
Created on: January 2, 2019
Made with: HTML, CSS
Tags: css-grid, footer, layout

15. Animated Footer Toggle

CSS Headers and Footers - Animated footer toggle
Expand/collapse footer with animations
Author: Sheelah Brennan (sheelah)
Created on: February 7, 2019
Made with: Pug, SCSS, Babel
CSS Pre-processor: SCSS
JS Pre-processor: Babel
HTML Pre-processor: Pug
Tags: css, animation, toggle

16. Animated Mobile Footer Menu

CSS Headers and Footers - Animated Mobile Footer Menu
Animated mobile footer menu to display 2-3 main actions a user can take on a mobile device. Shows up at 767px (for bootstrap users) Original image: https://500px.com/photo/142564117/nightfall-over-eidfjord-by-peter-lloyd
Author: Pete Lloyd (plloyd11)
Created on: January 20, 2016
Made with: HTML, SCSS, JS
Tags: css, animated, footer, mobile, menu

17. Flexbox Sticky Footer Example

CSS Headers and Footers - Flexbox Sticky Footer Example
A simple example of using flexbox to create a sticky footer page layout.
Author: Ryan Mulligan (hexagoncircle)
Created on: February 23, 2018
Made with: Pug, SCSS
CSS Pre-processor: SCSS
JS Pre-processor: None
HTML Pre-processor: Pug
Tags: flexbox, sticky-footer, css, flex-direction

18. CSS Animated Header

CSS Headers and Footers - CSS Animated Header
Ken Burns Animated blog header background image, no javascript
Author: Nodws (nodws)
Created on: May 30, 2017
Made with: HTML, CSS, JS
Tags: animation, header, blog, fixed

19. Slanted Div, Fixed Header

CSS Headers and Footers - Slanted Div, Fixed Header
Skewed divs and parallax effect created by fixed header. Simple layout and instructions for modification in the JS!
Author: Andrew Bales (agbales)
Created on: March 18, 2016
Made with: HTML, Sass, JS
Tags: responsive, slanted, skew, angle, parallax

20. Fixed Disappearing Scrolling Header

CSS Headers and Footers - Fixed Disappearing Scrolling Header
Photo by eflon, licensed under Creative Commons. Full explanation on my blog.
Author: Dudley Storey (dudleystorey)
Created on: October 28, 2016
Made with: HTML, SCSS
Tags: header, xenophon, anabasis, scroll

21. Multi-layered Parallax Illustration

CSS Headers and Footers - Multi-layered Parallax Illustration
Author: Patryk Zabielski (zabielski)
Created on: March 27, 2016
Made with: Haml, SCSS, CoffeeScript
CSS Pre-processor: SCSS
JS Pre-processor: CoffeeScript
HTML Pre-processor: Haml
Tags: parallax, illustration, layers, scroll, multi

22. Hero Idea

CSS Headers and Footers - Hero idea
An idea for a project I am working on.
Author: iamtheWraith (iamtheWraith)
Created on: April 6, 2016
Made with: HTML, CSS, JS

23. Headings/Hero Image Typography Playground

CSS Headers and Footers - Headings/Hero image typography playground
Explanation is at the top of CSS file. Just some typefaces, helper classes and few presets for easily testing headings typography.
Author: Mirko Zorić (fluxus)
Created on: January 24, 2015
Made with: HTML, CSS
Tags: typography, css3, fonts, typefaces, headings

24. Hero Zoom On Scroll

CSS Headers and Footers - Hero Zoom on Scroll
Simple zoom effect using window scroll to adjust some CSS.
Author: Derek Palladino (derekjp)
Created on: October 6, 2015
Made with: HTML, SCSS, JS
Tags: scroll, zoom, hero, article, image

25. Neat Parallax Hero Effect

CSS Headers and Footers - Neat Parallax Hero Effect
Some javascript magic to make this nifty little parallax hero.
Author: magnificode (magnificode)
Created on: September 21, 2015
Made with: HTML, SCSS, JS
Tags: javascript, parallax, look out medium

26. CSS Parallax Header Image

CSS Headers and Footers - CSS Parallax Header Image
Author: Bennett Feely (bennettfeely)
Created on: November 14, 2014
Made with: HTML, SCSS

27. Hero Image Showcase

CSS Headers and Footers - Hero Image Showcase
Author: Art (Skupienski)
Created on: September 22, 2016
Made with: HTML, CSS, JS

28. Flexbox Hero Header

CSS Headers and Footers - Flexbox Hero Header
Simple parallax hero header with flexbox
Author: Ana Vicente (anavicente)
Created on: April 5, 2016
Made with: HTML, CSS, JS

29. Simple Parallax Header With Blur

CSS Headers and Footers - Simple parallax header with blur
blur filter only supported in webkit
Author: tsimenis (tsimenis)
Created on: April 5, 2016
Made with: HTML, SCSS, JS

30. Hero OnScroll

CSS Headers and Footers - Hero OnScroll
Author: Irakli Verdzadze (verdzik)
Created on: October 21, 2015
Made with: HTML, CSS, JS
Tags: hero, mousewheel, scroll

31. Fullscreen Header + Background Color Cycle

CSS Headers and Footers - Fullscreen Header + Background Color Cycle
Author: Kenny Sing (KennySing)
Created on: November 17, 2014
Made with: HTML, CSS

32. Continuous Scrolling Background Of Sticky Header

CSS Headers and Footers - Continuous scrolling background of sticky header
Fixed the header after scrolling and move the background until the end of the document. WATCH FULLSCREEN FOR BETTER EXPERIENCE Take a look at the photo on top during scrolling :)
Author: Robert Borghesi (dghez)
Created on: September 17, 2014
Made with: HTML, SCSS, JS
Tags: jquery, css, scrolling, fixed

33. Responsive Scrolling Sticky Header

CSS Headers and Footers - Responsive Scrolling Sticky Header
Using element queries to power a layout with a cover image and a nav that sticks to the top of the page on scroll with the following query: @element 'html, body' and (min-scroll-y: 100vh) { header { position: fixed; top: 0; background: white; box-shadow: rgba(0,0,0,.05) ...
Read More
Author: Tommy Hodgins (tomhodgins)
Created on: April 22, 2016
Made with: HTML, CSS
Tags: sticky-header, element-query, container queries, element-queries, header

34. Scroll Header

CSS Headers and Footers - Scroll Header
Really smooth on mobile / touch enabled devices.
Author: Blake Bowen (osublake)
Created on: February 11, 2017
Made with: HTML, SCSS, JS
Tags: gsap, scroll, material design, header

35. Responsive Scroll Header

CSS Headers and Footers - Responsive Scroll Header
I was inspired by the header on brainpickings.org. I like the way it uses the full size on page load and almost immediately after the user starts scrolling it shrinks down to a resonable size.
Author: Dylan Macnab (DylanMacnab)
Created on: December 27, 2015
Made with: HTML, SCSS, JS
Tags: fixed-header, shrink, sticky-nav, navbar, header

36. Header Fade

CSS Headers and Footers - Header Fade
Author: Emmanuel Pilande (epilande)
Created on: April 7, 2014
Made with: Pug, SCSS, JS
CSS Pre-processor: SCSS
JS Pre-processor: None
HTML Pre-processor: Pug
Tags: scroll, header, fade, nav, transition

37. Fixed Header Scroll Effect And Smart Nav For One-Page Sites

CSS Headers and Footers - Fixed Header Scroll Effect and Smart Nav for One-Page Sites
Rudimentary combination of jquery fixed header on scroll and nav active section class effect "Fixed Header On Scroll Effect" forked from sayed rafeeq's Pen FIXED HEADER - ON SCROLL EFFECT. "Scroll Active 2" forked from Xabi's Pen Scroll active 2. Forked from sayed rafeeq's Pen FIXED HE...
Read More
Author: Summer (n400)
Created on: February 2, 2015
Made with: Pug, Stylus, JS
CSS Pre-processor: Stylus
JS Pre-processor: None
HTML Pre-processor: Pug

38. Auto Hide Sticky Header

CSS Headers and Footers - Auto hide sticky header
Setting classes on the header with javascript.
Author: jasper (jboeijenga)
Created on: January 21, 2015
Made with: HTML, SCSS, JS
Tags: auto hide, header, css

39. Sticky Header CSS Transition

CSS Headers and Footers - Sticky Header CSS Transition
Fun example of a sticky header utilizing some CSS3 transitions!
Author: Brady Sammons (soulrider911)
Created on: October 23, 2014
Made with: HTML, SCSS, JS
Tags: css3, jquery, html5, sticky-header

40. Top Sliding Nav

CSS Headers and Footers - Top Sliding Nav
Hidden nav that slides in from the top once the page is scrolled. Update: Added Active state to current navigation section. Changed each of the
wrappers to
and added a ".sections" wrapper.
Author: Chris Gruber (cgruber)
Created on: October 9, 2014
Made with: HTML, CSS, JS
Tags: navigation, slide, nav, top, sticky

41. Responsive Sticky Header Navigation

CSS Headers and Footers - Responsive sticky header navigation
Cool Navigation by Philippe Fercha
Author: MarcLibunao (MarcRay)
Created on: June 8, 2014
Made with: HTML, CSS, JS

42. Fixed Header (Quick Hack)

CSS Headers and Footers - Fixed Header (Quick Hack)
The header is not fixed with a solid background color and there is a fixed div at the top that is small. Then there is a div that is not fixed within the header with the title. Simply wanted to try and prototype the idea. Works in a decent hack-ish sort of way.
Author: Darcy Voutt (darcyvoutt)
Created on: March 21, 2014
Made with: HTML, Less
Tags: css, less, fixed, header

43. Sticky Header Visual Trick

CSS Headers and Footers - Sticky Header Visual Trick
Creates a sticky hacky sticker header using CSS without creating a scroll event handler.
Author: Michael (mintyfloss)
Created on: July 18, 2013
Made with: HTML, CSS, JS
Tags: sticky-header

44. React Video Header

CSS Headers and Footers - React Video Header
Author: Mark Sarpong (Markus1607)
Created on: May 23, 2017
Made with: Pug, Sass, Babel
CSS Pre-processor: Sass
JS Pre-processor: Babel
HTML Pre-processor: Pug

45. Video Header

CSS Headers and Footers - video header
Author: Alex (rizer)
Created on: February 5, 2017
Made with: HTML, Stylus, JS

46. Hero Video

CSS Headers and Footers - Hero video
A pen that shows how to create a hero with a background video. A few things to note .... » I'm using jQuery to populate the content only to make the HTML look cleaner for reviewing the code. » I'm using CSS animation to fade in the entire body. » I'm using CSS transformations to scale ...
Read More
Author: Chris Simeone (simspace-dev)
Created on: October 19, 2016
Made with: HTML, SCSS, JS

47. Fullscreen Background Video With Mix-Blend-Mode Overlay Text

CSS Headers and Footers - Fullscreen Background Video with Mix-Blend-Mode Overlay Text
Shows full-screen video with effective, legible text overlay using mix-blend-mode, inspired by work at Everlane. Full explanatory article. Video by Maximilian Kempe, licensed under Creative Commons. Freeware Moderne Sans font by Marius Kempken.
Author: Dudley Storey (dudleystorey)
Created on: September 3, 2016
Made with: HTML, SCSS
Tags: video, background, fullscreen, blend-modes, text

48. Video Header Animation

CSS Headers and Footers - Video Header Animation
Animation was customized used Adobe After Effects and rendered to be compatible across all browsers with .ogv and .webm files. Does not operate in mobile (intentionally). Bootstrap framework for HTML is used, no javascript needed. Click on 'Live View' under 'Change View' to see full header...
Read More
Author: Sylvia Maguina (SMaguina)
Created on: September 8, 2015
Made with: HTML, CSS
Tags: video, html, css, bootstrap

49. Responsive Video Header With Gradient

CSS Headers and Footers - Responsive Video Header with Gradient
This is the 404 error page for a project I'm working on. I was working on figuring out how the responsive background video here.
Author: Jacob Davidson (Reklino)
Created on: May 19, 2015
Made with: HTML, SCSS
Tags: responsive, video, gradient, 404, error

50. Parallax Footer (Website Fixed Footer)

CSS Headers and Footers - Parallax Footer (Website Fixed Footer)
I was playing around with website footers at work and wanted to get a little creative, I came across this pen (http://codepen.io/hudsonmarinho/pen/FHGeK) and decided to see if I could simplify/improve on it. Started as PureCSS but in order to make the height of the footer modify the margi...
Read More
Author: Austin Paquette (mur)
Created on: January 6, 2015
Made with: HTML, CSS, JS
Tags: fixed, html, responsive, footer, parallax

51. Footer With Conent Scale

CSS Headers and Footers - footer with conent scale
Author: Mātthīas (mfritsch)
Created on: September 1, 2015
Made with: HTML, Sass, JS
Tags: footer, scale, content

52. Social Media Footer

CSS Headers and Footers - Social media footer
Just a hover effect for the social media links in the footer of a page.
Author: Andrew Canham (candroo)
Created on: September 22, 2016
Made with: HTML, Less
Tags: css, hover-effect

53. Simple Fixed Footer

CSS Headers and Footers - simple fixed footer
Author: Mātthīas (mfritsch)
Created on: March 9, 2015
Made with: HTML, Sass, JS
Tags: simple, fixed, footer

54. Simple Slide-out Footer

CSS Headers and Footers - Simple slide-out footer
Just stumbled across this and loved the effect; the markup and styling were a bit much for my liking, so I found an easier way. main position: (not static) z-index: 1 margin-bottom: (footer height) footer position: fixed (and stick it to the bottom) height: (...)
Author: Riley Shaw (rileyjshaw)
Created on: December 26, 2013
Made with: Slim, Sass
CSS Pre-processor: Sass
JS Pre-processor: CoffeeScript
HTML Pre-processor: Slim
Tags: footer, slide-out, slide, info

55. Fixed Footer

CSS Headers and Footers - Fixed footer
A quick example of a fixed footer,
Author: Mads Håkansson (madshaakansson)
Created on: May 4, 2014
Made with: HTML, CSS, JS
Tags: fixed-footer, footer, fixed, css

56. Pure CSS Classy Footer

CSS Headers and Footers - Pure CSS Classy Footer
Pure CSS transitioned footer. Keeps away from content, shows itself when it needs to be seen.
Author: Nick Braver (nickbraver)
Created on: January 4, 2014
Made with: HTML, CSS, JS
Tags: footer, css, classy, transitions, pop

57. Beautiful Aurora Footer Lights

CSS Headers and Footers - Beautiful Aurora Footer Lights
Beautiful Aurora lights display for footer.
Author: Amit Ashok Kamble (amyth91)
Created on: July 25, 2012
Made with: HTML, CSS
Tags: css3, beautiful-footer, css3-animations, aurora-effect

58. Responsive New York Header

CSS Headers and Footers - Responsive New York Header
A responsive header featuring a New York backdrop optimized for mobile and larger screens.
Author: Sid (SidM09)
Created on: June 19, 2020
Made with: HTML, CSS
Tags: responsive-design, header, new-york, gradients, mobile-first

59. Hero Section Pure TailwindCSS 2nd

CSS Headers and Footers - Hero Section Pure TailwindCSS 2nd
Author: Componentity (componentity)
Created on: August 14, 2020
Made with: HTML, CSS
Tags: tailwind, here, header, carousel, snippet

60. Footer Example 4

CSS Headers and Footers - Footer Example 4
Author: Steve (slstudios)
Created on: June 25, 2015
Made with: HTML, CSS

61. Complex Header / Subgrid // CSS Grid

CSS Headers and Footers - Complex Header / Subgrid // CSS Grid
Created this complex header using subgrid, a specification of CSS Grid Layout. It's not mobile friendly but to get a sense of the power of subgrid, try moving an element to a new place in the HTML (while retaining the same 3rd level of position in the hierarchy). The HTML can be optimized ...
Read More
Author: Brian Haferkamp (brianhaferkamp)
Created on: July 10, 2020
Made with: Pug, Sass
CSS Pre-processor: Sass
JS Pre-processor: None
HTML Pre-processor: Pug
Tags: css, css-grid, subgrid, header

62. Animated Background Header

CSS Headers and Footers - Animated Background Header
This is a pretty simple effect to achieve for any header or content areas. This effect is particularly great for space-inspired content or perhaps networks/networking. This is a Codrops creation that I'm currently playing with. Pretty neat. Be sure to check out the original here
Author: Jasper LaChance (jasperlachance)
Created on: March 29, 2016
Made with: HTML, CSS, JS
Tags: space, animated, background, header, codrops

63. Pure CSS Header Menu

CSS Headers and Footers - Pure CSS Header Menu
Based on dribbble shot by Ennio Dybeli - https://dribbble.com/shots/2427219-Header-Navigation-Day-053-dailyui Please note, that this demo is just an animation practice and it's probably useless in real world, because it's negatevily impacts usability.
Author: Nikolay Talanov (suez)
Created on: January 12, 2016
Made with: HTML, SCSS
Tags: pure-css, menu

64. CSS Sticky Header

CSS Headers and Footers - CSS sticky header
This uses position: sticky so the header stays stuck to the top of the viewport.
Author: Abbey Fitzgerald (abbeyjfitzgerald)
Created on: December 26, 2017
Made with: HTML, CSS
Tags: sticky, position-sticky, css sticky, css, sticky-header

65. Stylish Footer

CSS Headers and Footers - stylish footer
Author: George Thomas (tgeorgetom)
Created on: January 3, 2020
Made with: HTML, CSS
Tags: animation, footer, website

66. Responsive & Clean Footer Design

CSS Headers and Footers - Responsive & clean footer design
A recreation & redevelop of the footer at Pavilion. I used some flex display trickery to stick it at the bottom and for the responsiveness. Overall, I love the colors, and the responsive logic is incredibly simple. Also, I'm in love with flex. I'll never go back to floats or tables aga...
Read More
Author: Christopher Schuck (mofny)
Created on: November 3, 2015
Made with: HTML, SCSS, JS
Tags: css flex footer, footer that will always stay down, footer style demonstration, flex justify-content, responsive footer design

67. Footer Responsive

CSS Headers and Footers - Footer Responsive
Footer with contact section. responsive footer
Author: Baahubali (anupkumar92)
Created on: January 7, 2019
Made with: HTML, CSS
Tags: footer, responsive footer, footer design

68. Css - Header Hero Video

CSS Headers and Footers - Css - Header Hero Video
Author: Hernan Castilla (hcastillaq)
Created on: December 29, 2017
Made with: HTML, CSS

69. Dark Mode CSS Headers And Footers

CSS Headers and Footers - Dark Mode CSS Headers and Footers
Author: Natali Mambetova (nalitana)
Made with: HTML, CSS

70. Pure CSS Website Header Utizilizing Checkbox

CSS Headers and Footers - pure CSS website header utizilizing checkbox
It's a pure CSS website header utizilizing checkbox to generate an off canvas menu with two levels.
Author: Daniel Schulz (iamschulz)
Made with: Pug, Less, JS
CSS Pre-processor: Less
JS Pre-processor: None
HTML Pre-processor: Pug

71. SVG Wavy Header

CSS Headers and Footers - SVG Wavy Header
Just having a play around with making my first SVGs, and seeing how I can use them to make layouts a little bit more interesting. This pen's to play around with a wavy pink background section at the top of a page. I created the SVG in Figma, and optimised it with SVGOMG
Author: Suzanne Aitchison (aitchiss)
Created on: August 26, 2020
Made with: HTML, CSS
Tags: svg, background, header

72. Hero Series: Marketing CTA And Image

CSS Headers and Footers - Hero Series: Marketing CTA and Image
Author: Stephanie Eckles (5t3ph)
Made with: HTML, SCSS

73. Minimal CSS Header BAr

CSS Headers and Footers - Minimal CSS Header BAr
Just a really simple header bar for this week's CodePen challenge.
Author: Taco 🌮 (tacosontitan)
Created on: January 27, 2020
Made with: HTML, CSS
Tags: cpc-classic-header, codepen-challenge, header, menu, responsive

74. Footer

CSS Headers and Footers - Footer
Design from uidesigndaily.com
Author: Joaquin (joaqo89)
Created on: July 25, 2020
Made with: HTML, CSS
Tags: design, ui, footer

75. Footer Elegant

CSS Headers and Footers -  Footer Elegant
Beautiful Elegant Footer
Author: Ante (AntenaGames)
Created on: April 11, 2020
Made with: HTML, CSS
Tags: footer, beautiful, elegant, bootstrap

76. Keep The Footer At The Bottom: Flexbox Vs. Grid

CSS Headers and Footers - Keep the Footer at the Bottom: Flexbox vs. Grid
Two solutions to the floating footer problem. Learn more: https://moderncss.dev/keep-the-footer-at-the-bottom-flexbox-vs-grid/
Author: Stephanie Eckles (5t3ph)
Created on: April 8, 2020
Made with: HTML, SCSS, TypeScript
Tags: css, flexbox, grid, footer, tutorial

77. CSS Goey Footer

CSS Headers and Footers - CSS Goey footer
I'm a little late to the blob party, but I'm having fun Do not use this for real projects with this amount of blobs, use 24 of them or less 😛 _ Made using GistPad https://aka.ms/gistpad Pen available as a Gist: https://gist.github.com/oauo/ecdf56c499e809ad671c4d85d5c2b90a Open in GistP...
Read More
Author: Zed Dash (z-)
Created on: December 28, 2019
Made with: Pug, SCSS
CSS Pre-processor: SCSS
JS Pre-processor: None
HTML Pre-processor: Pug
Tags: gistpad, blobs, footer, particles, animation

Fixed (Sticky) Headers

1. Sticky Headers Be Sticky

CSS Headers and Footers - Sticky Headers be Sticky
Sticky Headers be Sticky but shit, I made a menu too.
Author: Joshua Ward (joshuaward)
Created on: February 8, 2019
Made with: Pug, SCSS, JS
CSS Pre-processor: SCSS
JS Pre-processor: None
HTML Pre-processor: Pug

2. Sticky Header On Scroll

CSS Headers and Footers - Sticky Header on Scroll
High performance sticky header with shadow on scroll.
Author: Marco Biedermann (marcobiedermann)
Created on: July 1, 2017
Made with: HTML, PostCSS, Babel
Tags: sticky, header, scroll, material

3. Responsive Scrolling Sticky Header

CSS Headers and Footers - Responsive Scrolling Sticky Header
Using element queries to power a layout with a cover image and a nav that sticks to the top of the page on scroll with the following query: @element 'html, body' and (min-scroll-y: 100vh) { header { position: fixed; top: 0; background: white; box-shadow: rgba(0,0,0,.05) ...
Read More
Author: Tommy Hodgins (tomhodgins)
Created on: April 22, 2016
Made with: HTML, CSS
Tags: sticky-header, element-query, container queries, element-queries, header

4. Scroll Header

CSS Headers and Footers - Scroll Header
Really smooth on mobile / touch enabled devices.
Author: Blake Bowen (osublake)
Created on: February 11, 2017
Made with: HTML, SCSS, JS
Tags: gsap, scroll, material design, header

5. Responsive Scroll Header

CSS Headers and Footers - Responsive Scroll Header
I was inspired by the header on brainpickings.org. I like the way it uses the full size on page load and almost immediately after the user starts scrolling it shrinks down to a resonable size.
Author: Dylan Macnab (DylanMacnab)
Created on: December 27, 2015
Made with: HTML, SCSS, JS
Tags: fixed-header, shrink, sticky-nav, navbar, header

6. Header Fade

CSS Headers and Footers - Header Fade
Author: Emmanuel Pilande (epilande)
Created on: April 7, 2014
Made with: Pug, SCSS, JS
CSS Pre-processor: SCSS
JS Pre-processor: None
HTML Pre-processor: Pug
Tags: scroll, header, fade, nav, transition

7. Fixed Header Scroll Effect And Smart Nav For One-Page Sites

CSS Headers and Footers - Fixed Header Scroll Effect and Smart Nav for One-Page Sites
Rudimentary combination of jquery fixed header on scroll and nav active section class effect "Fixed Header On Scroll Effect" forked from sayed rafeeq's Pen FIXED HEADER - ON SCROLL EFFECT. "Scroll Active 2" forked from Xabi's Pen Scroll active 2. Forked from sayed rafeeq's Pen FIXED HE...
Read More
Author: Summer (n400)
Created on: February 2, 2015
Made with: Pug, Stylus, JS
CSS Pre-processor: Stylus
JS Pre-processor: None
HTML Pre-processor: Pug

8. Auto Hide Sticky Header

CSS Headers and Footers - Auto hide sticky header
Setting classes on the header with javascript.
Author: jasper (jboeijenga)
Created on: January 21, 2015
Made with: HTML, SCSS, JS
Tags: auto hide, header, css

9. Sticky Header CSS Transition

CSS Headers and Footers - Sticky Header CSS Transition
Fun example of a sticky header utilizing some CSS3 transitions!
Author: Brady Sammons (soulrider911)
Created on: October 23, 2014
Made with: HTML, SCSS, JS
Tags: css3, jquery, html5, sticky-header

10. Top Sliding Nav

CSS Headers and Footers - Top Sliding Nav
Hidden nav that slides in from the top once the page is scrolled. Update: Added Active state to current navigation section. Changed each of the
wrappers to
and added a ".sections" wrapper.
Author: Chris Gruber (cgruber)
Created on: October 9, 2014
Made with: HTML, CSS, JS
Tags: navigation, slide, nav, top, sticky

11. Responsive Sticky Header Navigation

CSS Headers and Footers - Responsive sticky header navigation
Cool Navigation by Philippe Fercha
Author: MarcLibunao (MarcRay)
Created on: June 8, 2014
Made with: HTML, CSS, JS

12. Fixed Header (Quick Hack)

CSS Headers and Footers - Fixed Header (Quick Hack)
The header is not fixed with a solid background color and there is a fixed div at the top that is small. Then there is a div that is not fixed within the header with the title. Simply wanted to try and prototype the idea. Works in a decent hack-ish sort of way.
Author: Darcy Voutt (darcyvoutt)
Created on: March 21, 2014
Made with: HTML, Less
Tags: css, less, fixed, header

13. Sticky Header Visual Trick

CSS Headers and Footers - Sticky Header Visual Trick
Creates a sticky hacky sticker header using CSS without creating a scroll event handler.
Author: Michael (mintyfloss)
Created on: July 18, 2013
Made with: HTML, CSS, JS
Tags: sticky-header

Fullscreen Headers

1. Hover Effect For Headers

CSS Headers and Footers - Hover Effect for Headers
Featuring the most amazing things you can find on earth. Scroll may be a bit janky due to CSS Scroll Snap - not as smooth as I'd thought it'd be but still awesome. Images from pexels.com.
Author: Olivia Ng (oliviale)
Created on: February 25, 2019
Made with: Pug, SCSS, JS
CSS Pre-processor: SCSS
JS Pre-processor: None
HTML Pre-processor: Pug

2. Software Company Header/About

CSS Headers and Footers - Software Company Header/About
A simple header for a software company searching people to work with.
Author: Jorge Reyes (jorgert1205)
Created on: February 11, 2019
Made with: HTML, SCSS
Tags: landing, header, button, simple, minimal

3. Header For Landing Page Using Clip Path.

CSS Headers and Footers - Header for landing page using clip path.
Author: Gerardo Valencia (grardovr)
Created on: February 26, 2018
Made with: HTML, CSS

4. 🌈 Sexy Animated Rainbow Waves Header

CSS Headers and Footers - 🌈 Sexy Animated Rainbow Waves Header
Just a little front-end UI experiment. I needed a bit of color in my life! 🌈
Author: Jeffrey Bennett 😃 (PickJBennett)
Created on: September 4, 2017
Made with: HTML, CSS, JS
Tags: sexy, rainbow, animated, css, header

5. Flexbox Full Hero With Button

CSS Headers and Footers - Flexbox Full Hero With Button
Author: Alan Tucker (alantucker)
Created on: February 2, 2017
Made with: HTML, SCSS
Tags: flexbox, hero

6. Hero Image Showcase

CSS Headers and Footers - Hero Image Showcase
Author: Art (Skupienski)
Created on: September 22, 2016
Made with: HTML, CSS, JS

7. Flexbox Hero Header

CSS Headers and Footers - Flexbox Hero Header
Simple parallax hero header with flexbox
Author: Ana Vicente (anavicente)
Created on: April 5, 2016
Made with: HTML, CSS, JS

8. Simple Parallax Header With Blur

CSS Headers and Footers - Simple parallax header with blur
blur filter only supported in webkit
Author: tsimenis (tsimenis)
Created on: April 5, 2016
Made with: HTML, SCSS, JS

9. Hero OnScroll

CSS Headers and Footers - Hero OnScroll
Author: Irakli Verdzadze (verdzik)
Created on: October 21, 2015
Made with: HTML, CSS, JS
Tags: hero, mousewheel, scroll

10. Fullscreen Header + Background Color Cycle

CSS Headers and Footers - Fullscreen Header + Background Color Cycle
Author: Kenny Sing (KennySing)
Created on: November 17, 2014
Made with: HTML, CSS

11. Continuous Scrolling Background Of Sticky Header

CSS Headers and Footers - Continuous scrolling background of sticky header
Fixed the header after scrolling and move the background until the end of the document. WATCH FULLSCREEN FOR BETTER EXPERIENCE Take a look at the photo on top during scrolling :)
Author: Robert Borghesi (dghez)
Created on: September 17, 2014
Made with: HTML, SCSS, JS
Tags: jquery, css, scrolling, fixed

Article Headers

1. Skewed CSS Header

CSS Headers and Footers - Skewed CSS Header
Author: Arthur Camara (arthurcamara1)
Created on: September 20, 2017
Made with: Pug, Stylus
CSS Pre-processor: Stylus
JS Pre-processor: None
HTML Pre-processor: Pug
Tags: header, skew, gradient, transform, iphone

2. Fixed Angled Header Using A CSS Pseudo-Element

CSS Headers and Footers - Fixed Angled Header using a CSS Pseudo-Element
This pen shows how CSS pseudo-elements and transforms can be used to create a fixed, angled header with an image background.
Author: George W. Park (GeorgePark)
Created on: January 6, 2018
Made with: HTML, CSS
Tags: css, layout, header, fixed, transform

3. Curve CSS Header

CSS Headers and Footers - Curve CSS Header
Author: Omar Dsooky (linux)
Created on: January 18, 2018
Made with: HTML, CSS, JS
Tags: curve, shadow, gradient, odsoky, omar dsoky

4. Non Rectangular CSS Headers With Inline SVG

CSS Headers and Footers - Non Rectangular CSS Headers With Inline SVG
Author: Paolo Duzioni (Paolo-Duzioni)
Created on: June 27, 2018
Made with: Pug, SCSS
CSS Pre-processor: SCSS
JS Pre-processor: None
HTML Pre-processor: Pug
Tags: inline-svg, non-rectangular headers, cards

5. Header Image Parallax Scrolling Effect With CSS

CSS Headers and Footers - Header Image Parallax Scrolling Effect with CSS
Create a parallax scrolling effect using CSS background-image position. This script works when the header image is positioned at the top of the page. A step by step guide at https://webmadewell.com/header-image-parallax-scrolling-effect-with-css By webmadewell.com
Author: WebMadeWell (webmadewell)
Created on: January 8, 2018
Made with: HTML, CSS, JS
Tags: parallax, css-animation, jquery

6. Curve SVG Background Animation

CSS Headers and Footers - Curve SVG Background Animation
Author: Arman (armantaherian)
Created on: July 16, 2017
Made with: HTML, SCSS, JS
Tags: svg, animation, curve

7. CSS Animated Header

CSS Headers and Footers - CSS Animated Header
Ken Burns Animated blog header background image, no javascript
Author: Nodws (nodws)
Created on: May 30, 2017
Made with: HTML, CSS, JS
Tags: animation, header, blog, fixed

8. Slanted Div, Fixed Header

CSS Headers and Footers - Slanted Div, Fixed Header
Skewed divs and parallax effect created by fixed header. Simple layout and instructions for modification in the JS!
Author: Andrew Bales (agbales)
Created on: March 18, 2016
Made with: HTML, Sass, JS
Tags: responsive, slanted, skew, angle, parallax

9. Fixed Disappearing Scrolling Header

CSS Headers and Footers - Fixed Disappearing Scrolling Header
Photo by eflon, licensed under Creative Commons. Full explanation on my blog.
Author: Dudley Storey (dudleystorey)
Created on: October 28, 2016
Made with: HTML, SCSS
Tags: header, xenophon, anabasis, scroll

10. Multi-layered Parallax Illustration

CSS Headers and Footers - Multi-layered Parallax Illustration
Author: Patryk Zabielski (zabielski)
Created on: March 27, 2016
Made with: Haml, SCSS, CoffeeScript
CSS Pre-processor: SCSS
JS Pre-processor: CoffeeScript
HTML Pre-processor: Haml
Tags: parallax, illustration, layers, scroll, multi

11. Hero Idea

CSS Headers and Footers - Hero idea
An idea for a project I am working on.
Author: iamtheWraith (iamtheWraith)
Created on: April 6, 2016
Made with: HTML, CSS, JS

12. Headings/Hero Image Typography Playground

CSS Headers and Footers - Headings/Hero image typography playground
Explanation is at the top of CSS file. Just some typefaces, helper classes and few presets for easily testing headings typography.
Author: Mirko Zorić (fluxus)
Created on: January 24, 2015
Made with: HTML, CSS
Tags: typography, css3, fonts, typefaces, headings

13. Hero Zoom On Scroll

CSS Headers and Footers - Hero Zoom on Scroll
Simple zoom effect using window scroll to adjust some CSS.
Author: Derek Palladino (derekjp)
Created on: October 6, 2015
Made with: HTML, SCSS, JS
Tags: scroll, zoom, hero, article, image

14. Neat Parallax Hero Effect

CSS Headers and Footers - Neat Parallax Hero Effect
Some javascript magic to make this nifty little parallax hero.
Author: magnificode (magnificode)
Created on: September 21, 2015
Made with: HTML, SCSS, JS
Tags: javascript, parallax, look out medium

15. CSS Parallax Header Image

CSS Headers and Footers - CSS Parallax Header Image
Author: Bennett Feely (bennettfeely)
Created on: November 14, 2014
Made with: HTML, SCSS

Footers

1. Animated Footer Toggle

CSS Headers and Footers - Animated footer toggle
Expand/collapse footer with animations
Author: Sheelah Brennan (sheelah)
Created on: February 7, 2019
Made with: Pug, SCSS, Babel
CSS Pre-processor: SCSS
JS Pre-processor: Babel
HTML Pre-processor: Pug
Tags: css, animation, toggle

2. Footer With CSS Grid

CSS Headers and Footers - Footer with CSS Grid
Evenly space links with CSS Grid. No margin or padding needed!
Author: Jules Forrest (julesforrest)
Created on: January 2, 2019
Made with: HTML, CSS
Tags: css-grid, footer, layout

3. Flexbox Sticky Footer Example

CSS Headers and Footers - Flexbox Sticky Footer Example
A simple example of using flexbox to create a sticky footer page layout.
Author: Ryan Mulligan (hexagoncircle)
Created on: February 23, 2018
Made with: Pug, SCSS
CSS Pre-processor: SCSS
JS Pre-processor: None
HTML Pre-processor: Pug
Tags: flexbox, sticky-footer, css, flex-direction

4. Animated Mobile Footer Menu

CSS Headers and Footers - Animated Mobile Footer Menu
Animated mobile footer menu to display 2-3 main actions a user can take on a mobile device. Shows up at 767px (for bootstrap users) Original image: https://500px.com/photo/142564117/nightfall-over-eidfjord-by-peter-lloyd
Author: Pete Lloyd (plloyd11)
Created on: January 20, 2016
Made with: HTML, SCSS, JS
Tags: css, animated, footer, mobile, menu

5. Parallax Footer (Website Fixed Footer)

CSS Headers and Footers - Parallax Footer (Website Fixed Footer)
I was playing around with website footers at work and wanted to get a little creative, I came across this pen (http://codepen.io/hudsonmarinho/pen/FHGeK) and decided to see if I could simplify/improve on it. Started as PureCSS but in order to make the height of the footer modify the margi...
Read More
Author: Austin Paquette (mur)
Created on: January 6, 2015
Made with: HTML, CSS, JS
Tags: fixed, html, responsive, footer, parallax

6. Footer With Conent Scale

CSS Headers and Footers - footer with conent scale
Author: Mātthīas (mfritsch)
Created on: September 1, 2015
Made with: HTML, Sass, JS
Tags: footer, scale, content

7. Social Media Footer

CSS Headers and Footers - Social media footer
Just a hover effect for the social media links in the footer of a page.
Author: Andrew Canham (candroo)
Created on: September 22, 2016
Made with: HTML, Less
Tags: css, hover-effect

8. Simple Fixed Footer

CSS Headers and Footers - simple fixed footer
Author: Mātthīas (mfritsch)
Created on: March 9, 2015
Made with: HTML, Sass, JS
Tags: simple, fixed, footer

9. Simple Slide-out Footer

CSS Headers and Footers - Simple slide-out footer
Just stumbled across this and loved the effect; the markup and styling were a bit much for my liking, so I found an easier way. main position: (not static) z-index: 1 margin-bottom: (footer height) footer position: fixed (and stick it to the bottom) height: (...)
Author: Riley Shaw (rileyjshaw)
Created on: December 26, 2013
Made with: Slim, Sass
CSS Pre-processor: Sass
JS Pre-processor: CoffeeScript
HTML Pre-processor: Slim
Tags: footer, slide-out, slide, info

10. Fixed Footer

CSS Headers and Footers - Fixed footer
A quick example of a fixed footer,
Author: Mads Håkansson (madshaakansson)
Created on: May 4, 2014
Made with: HTML, CSS, JS
Tags: fixed-footer, footer, fixed, css

11. Pure CSS Classy Footer

CSS Headers and Footers - Pure CSS Classy Footer
Pure CSS transitioned footer. Keeps away from content, shows itself when it needs to be seen.
Author: Nick Braver (nickbraver)
Created on: January 4, 2014
Made with: HTML, CSS, JS
Tags: footer, css, classy, transitions, pop

12. Beautiful Aurora Footer Lights

CSS Headers and Footers - Beautiful Aurora Footer Lights
Beautiful Aurora lights display for footer.
Author: Amit Ashok Kamble (amyth91)
Created on: July 25, 2012
Made with: HTML, CSS
Tags: css3, beautiful-footer, css3-animations, aurora-effect

Video Headers

1. React Video Header

CSS Headers and Footers - React Video Header
Author: Mark Sarpong (Markus1607)
Created on: May 23, 2017
Made with: Pug, Sass, Babel
CSS Pre-processor: Sass
JS Pre-processor: Babel
HTML Pre-processor: Pug

2. Video Header

CSS Headers and Footers - video header
Author: Alex (rizer)
Created on: February 5, 2017
Made with: HTML, Stylus, JS

3. Hero Video

CSS Headers and Footers - Hero video
A pen that shows how to create a hero with a background video. A few things to note .... » I'm using jQuery to populate the content only to make the HTML look cleaner for reviewing the code. » I'm using CSS animation to fade in the entire body. » I'm using CSS transformations to scale ...
Read More
Author: Chris Simeone (simspace-dev)
Created on: October 19, 2016
Made with: HTML, SCSS, JS

4. Fullscreen Background Video With Mix-Blend-Mode Overlay Text

CSS Headers and Footers - Fullscreen Background Video with Mix-Blend-Mode Overlay Text
Shows full-screen video with effective, legible text overlay using mix-blend-mode, inspired by work at Everlane. Full explanatory article. Video by Maximilian Kempe, licensed under Creative Commons. Freeware Moderne Sans font by Marius Kempken.
Author: Dudley Storey (dudleystorey)
Created on: September 3, 2016
Made with: HTML, SCSS
Tags: video, background, fullscreen, blend-modes, text

5. Video Header Animation

CSS Headers and Footers - Video Header Animation
Animation was customized used Adobe After Effects and rendered to be compatible across all browsers with .ogv and .webm files. Does not operate in mobile (intentionally). Bootstrap framework for HTML is used, no javascript needed. Click on 'Live View' under 'Change View' to see full header...
Read More
Author: Sylvia Maguina (SMaguina)
Created on: September 8, 2015
Made with: HTML, CSS
Tags: video, html, css, bootstrap

6. Responsive Video Header With Gradient

CSS Headers and Footers - Responsive Video Header with Gradient
This is the 404 error page for a project I'm working on. I was working on figuring out how the responsive background video here.
Author: Jacob Davidson (Reklino)
Created on: May 19, 2015
Made with: HTML, SCSS
Tags: responsive, video, gradient, 404, error