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.
NEW
🔥 Auto-Apply to 100's of Jobs With AI 🔥
👉
Click to visit: ApplyFox.ai
1. Skewed CSS Header
Author: Arthur Camara (arthurcamara1)
Links: Source Code / Demo
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
Author: Omar Dsooky (linux)
Links: Source Code / Demo
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
Author: Paolo Duzioni (Paolo-Duzioni)
Links: Source Code / Demo
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
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)
Links: Source Code / Demo, Webmadewell.com
Created on: January 8, 2018
Made with: HTML, CSS, JS
Tags: parallax, css-animation, jquery
5. 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)
Links: Source Code / Demo
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
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)
Links: Source Code / Demo
Created on: January 6, 2018
Made with: HTML, CSS
Tags: css, layout, header, fixed, transform
7. Curve SVG Background Animation
Author: Arman (armantaherian)
Links: Source Code / Demo
Created on: July 16, 2017
Made with: HTML, SCSS, JS
Tags: svg, animation, curve
8. Header For Landing Page Using Clip Path.
Author: Gerardo Valencia (grardovr)
Links: Source Code / Demo
Created on: February 26, 2018
Made with: HTML, CSS
9. Software Company Header/About
A simple header for a software company searching people to work with.
Author: Jorge Reyes (jorgert1205)
Links: Source Code / Demo
Created on: February 11, 2019
Made with: HTML, SCSS
Tags: landing, header, button, simple, minimal
10. Flexbox Full Hero With Button
Author: Alan Tucker (alantucker)
Links: Source Code / Demo
Created on: February 2, 2017
Made with: HTML, SCSS
Tags: flexbox, hero
11. 🌈 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)
Links: Source Code / Demo
Created on: September 4, 2017
Made with: HTML, CSS, JS
Tags: sexy, rainbow, animated, css, header
12. Sticky Header On Scroll
High performance sticky header with shadow on scroll.
Author: Marco Biedermann (marcobiedermann)
Links: Source Code / Demo
Created on: July 1, 2017
Made with: HTML, PostCSS, Babel
Tags: sticky, header, scroll, material
13. Sticky Headers Be Sticky
Sticky Headers be Sticky but shit, I made a menu too.
Author: Joshua Ward (joshuaward)
Links: Source Code / Demo
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
Evenly space links with CSS Grid. No margin or padding needed!
Author: Jules Forrest (julesforrest)
Links: Source Code / Demo
Created on: January 2, 2019
Made with: HTML, CSS
Tags: css-grid, footer, layout
15. Animated Footer Toggle
Expand/collapse footer with animations
Author: Sheelah Brennan (sheelah)
Links: Source Code / Demo
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
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)
Links: Source Code / Demo, 500px.com
Created on: January 20, 2016
Made with: HTML, SCSS, JS
Tags: css, animated, footer, mobile, menu
17. Flexbox Sticky Footer Example
A simple example of using flexbox to create a sticky footer page layout.
Author: Ryan Mulligan (hexagoncircle)
Links: Source Code / Demo
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
Ken Burns Animated blog header background image, no javascript
Author: Nodws (nodws)
Links: Source Code / Demo
Created on: May 30, 2017
Made with: HTML, CSS, JS
Tags: animation, header, blog, fixed
19. 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)
Links: Source Code / Demo
Created on: March 18, 2016
Made with: HTML, Sass, JS
Tags: responsive, slanted, skew, angle, parallax
20. Fixed Disappearing Scrolling Header
Photo by eflon, licensed under Creative Commons. Full explanation on my blog.
Author: Dudley Storey (dudleystorey)
Links: Source Code / Demo
Created on: October 28, 2016
Made with: HTML, SCSS
Tags: header, xenophon, anabasis, scroll
21. Multi-layered Parallax Illustration
Author: Patryk Zabielski (zabielski)
Links: Source Code / Demo
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
An idea for a project I am working on.
Author: iamtheWraith (iamtheWraith)
Links: Source Code / Demo
Created on: April 6, 2016
Made with: HTML, CSS, JS
23. 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)
Links: Source Code / Demo
Created on: January 24, 2015
Made with: HTML, CSS
Tags: typography, css3, fonts, typefaces, headings
24. Hero Zoom On Scroll
Simple zoom effect using window scroll to adjust some CSS.
Author: Derek Palladino (derekjp)
Links: Source Code / Demo
Created on: October 6, 2015
Made with: HTML, SCSS, JS
Tags: scroll, zoom, hero, article, image
25. Neat Parallax Hero Effect
Some javascript magic to make this nifty little parallax hero.
Author: magnificode (magnificode)
Links: Source Code / Demo
Created on: September 21, 2015
Made with: HTML, SCSS, JS
Tags: javascript, parallax, look out medium
26. CSS Parallax Header Image
Author: Bennett Feely (bennettfeely)
Links: Source Code / Demo
Created on: November 14, 2014
Made with: HTML, SCSS
27. Hero Image Showcase
Author: Art (Skupienski)
Links: Source Code / Demo
Created on: September 22, 2016
Made with: HTML, CSS, JS
28. Flexbox Hero Header
Simple parallax hero header with flexbox
Author: Ana Vicente (anavicente)
Links: Source Code / Demo
Created on: April 5, 2016
Made with: HTML, CSS, JS
29. Simple Parallax Header With Blur
blur filter only supported in webkit
Author: tsimenis (tsimenis)
Links: Source Code / Demo
Created on: April 5, 2016
Made with: HTML, SCSS, JS
30. Hero OnScroll
Author: Irakli Verdzadze (verdzik)
Links: Source Code / Demo
Created on: October 21, 2015
Made with: HTML, CSS, JS
Tags: hero, mousewheel, scroll
31. Fullscreen Header + Background Color Cycle
Author: Kenny Sing (KennySing)
Links: Source Code / Demo
Created on: November 17, 2014
Made with: HTML, CSS
32. 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)
Links: Source Code / Demo
Created on: September 17, 2014
Made with: HTML, SCSS, JS
Tags: jquery, css, scrolling, fixed
33. 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)
Links: Source Code / Demo
Created on: April 22, 2016
Made with: HTML, CSS
Tags: sticky-header, element-query, container queries, element-queries, header
34. Scroll Header
Really smooth on mobile / touch enabled devices.
Author: Blake Bowen (osublake)
Links: Source Code / Demo
Created on: February 11, 2017
Made with: HTML, SCSS, JS
Tags: gsap, scroll, material design, header
35. 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)
Links: Source Code / Demo
Created on: December 27, 2015
Made with: HTML, SCSS, JS
Tags: fixed-header, shrink, sticky-nav, navbar, header
36. Header Fade
Author: Emmanuel Pilande (epilande)
Links: Source Code / Demo
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
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)
Links: Source Code / Demo
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
Setting classes on the header with javascript.
Author: jasper (jboeijenga)
Links: Source Code / Demo
Created on: January 21, 2015
Made with: HTML, SCSS, JS
Tags: auto hide, header, css
39. Sticky Header CSS Transition
Fun example of a sticky header utilizing some CSS3 transitions!
Author: Brady Sammons (soulrider911)
Links: Source Code / Demo
Created on: October 23, 2014
Made with: HTML, SCSS, JS
Tags: css3, jquery, html5, sticky-header
40. 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 thewrappers toand added a ".sections" wrapper.
Author: Chris Gruber (cgruber)
Links: Source Code / Demo
Created on: October 9, 2014
Made with: HTML, CSS, JS
Tags: navigation, slide, nav, top, sticky
41. Responsive Sticky Header Navigation
Cool Navigation by Philippe Fercha
Author: MarcLibunao (MarcRay)
Links: Source Code / Demo
Created on: June 8, 2014
Made with: HTML, CSS, JS
42. 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)
Links: Source Code / Demo
Created on: March 21, 2014
Made with: HTML, Less
Tags: css, less, fixed, header
43. Sticky Header Visual Trick
Creates a sticky hacky sticker header using CSS without creating a scroll event handler.
Author: Michael (mintyfloss)
Links: Source Code / Demo
Created on: July 18, 2013
Made with: HTML, CSS, JS
Tags: sticky-header
44. React Video Header
Author: Mark Sarpong (Markus1607)
Links: Source Code / Demo
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
Author: Alex (rizer)
Links: Source Code / Demo
Created on: February 5, 2017
Made with: HTML, Stylus, JS
46. 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)
Links: Source Code / Demo
Created on: October 19, 2016
Made with: HTML, SCSS, JS
47. 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)
Links: Source Code / Demo
Created on: September 3, 2016
Made with: HTML, SCSS
Tags: video, background, fullscreen, blend-modes, text
48. 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)
Links: Source Code / Demo
Created on: September 8, 2015
Made with: HTML, CSS
Tags: video, html, css, bootstrap
49. 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)
Links: Source Code / Demo
Created on: May 19, 2015
Made with: HTML, SCSS
Tags: responsive, video, gradient, 404, error
50. 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)
Links: Source Code / Demo
Created on: January 6, 2015
Made with: HTML, CSS, JS
Tags: fixed, html, responsive, footer, parallax
51. Footer With Conent Scale
Author: Mātthīas (mfritsch)
Links: Source Code / Demo
Created on: September 1, 2015
Made with: HTML, Sass, JS
Tags: footer, scale, content
52. Social Media Footer
Just a hover effect for the social media links in the footer of a page.
Author: Andrew Canham (candroo)
Links: Source Code / Demo
Created on: September 22, 2016
Made with: HTML, Less
Tags: css, hover-effect
53. Simple Fixed Footer
Author: Mātthīas (mfritsch)
Links: Source Code / Demo
Created on: March 9, 2015
Made with: HTML, Sass, JS
Tags: simple, fixed, footer
54. 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)
Links: Source Code / Demo
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
A quick example of a fixed footer,
Author: Mads Håkansson (madshaakansson)
Links: Source Code / Demo
Created on: May 4, 2014
Made with: HTML, CSS, JS
Tags: fixed-footer, footer, fixed, css
56. Pure CSS Classy Footer
Pure CSS transitioned footer. Keeps away from content, shows itself when it needs to be seen.
Author: Nick Braver (nickbraver)
Links: Source Code / Demo
Created on: January 4, 2014
Made with: HTML, CSS, JS
Tags: footer, css, classy, transitions, pop
57. Beautiful Aurora Footer Lights
Beautiful Aurora lights display for footer.
Author: Amit Ashok Kamble (amyth91)
Links: Source Code / Demo
Created on: July 25, 2012
Made with: HTML, CSS
Tags: css3, beautiful-footer, css3-animations, aurora-effect
58. Responsive New York Header
A responsive header featuring a New York backdrop optimized for mobile and larger screens.
Author: Sid (SidM09)
Links: Source Code / Demo
Created on: June 19, 2020
Made with: HTML, CSS
Tags: responsive-design, header, new-york, gradients, mobile-first
59. Hero Section Pure TailwindCSS 2nd
Author: Componentity (componentity)
Links: Source Code / Demo
Created on: August 14, 2020
Made with: HTML, CSS
Tags: tailwind, here, header, carousel, snippet
60. Footer Example 4
Author: Steve (slstudios)
Links: Source Code / Demo
Created on: June 25, 2015
Made with: HTML, CSS
61. 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)
Links: Source Code / Demo
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
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)
Links: Source Code / Demo
Created on: March 29, 2016
Made with: HTML, CSS, JS
Tags: space, animated, background, header, codrops
63. 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)
Links: Source Code / Demo
Created on: January 12, 2016
Made with: HTML, SCSS
Tags: pure-css, menu
64. CSS Sticky Header
This uses position: sticky so the header stays stuck to the top of the viewport.
Author: Abbey Fitzgerald (abbeyjfitzgerald)
Links: Source Code / Demo
Created on: December 26, 2017
Made with: HTML, CSS
Tags: sticky, position-sticky, css sticky, css, sticky-header
65. Stylish Footer
Author: George Thomas (tgeorgetom)
Links: Source Code / Demo
Created on: January 3, 2020
Made with: HTML, CSS
Tags: animation, footer, website
66. 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)
Links: Source Code / Demo
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
Footer with contact section. responsive footer
Author: Baahubali (anupkumar92)
Links: Source Code / Demo
Created on: January 7, 2019
Made with: HTML, CSS
Tags: footer, responsive footer, footer design
68. Css - Header Hero Video
Author: Hernan Castilla (hcastillaq)
Links: Source Code / Demo
Created on: December 29, 2017
Made with: HTML, CSS
69. Dark Mode CSS Headers And Footers
Author: Natali Mambetova (nalitana)
Links: Source Code / Demo
Made with: HTML, CSS
70. 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)
Links: Source Code / Demo
Made with: Pug, Less, JS
CSS Pre-processor: Less
JS Pre-processor: None
HTML Pre-processor: Pug
71. 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)
Links: Source Code / Demo
Created on: August 26, 2020
Made with: HTML, CSS
Tags: svg, background, header
72. Hero Series: Marketing CTA And Image
Author: Stephanie Eckles (5t3ph)
Links: Source Code / Demo
Made with: HTML, SCSS
73. Minimal CSS Header BAr
Just a really simple header bar for this week's CodePen challenge.
Author: Taco 🌮 (tacosontitan)
Links: Source Code / Demo
Created on: January 27, 2020
Made with: HTML, CSS
Tags: cpc-classic-header, codepen-challenge, header, menu, responsive
74. Footer
Design from uidesigndaily.com
Author: Joaquin (joaqo89)
Links: Source Code / Demo
Created on: July 25, 2020
Made with: HTML, CSS
Tags: design, ui, footer
75. Footer Elegant
Beautiful Elegant Footer
Author: Ante (AntenaGames)
Links: Source Code / Demo
Created on: April 11, 2020
Made with: HTML, CSS
Tags: footer, beautiful, elegant, bootstrap
76. 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)
Links: Source Code / Demo
Created on: April 8, 2020
Made with: HTML, SCSS, TypeScript
Tags: css, flexbox, grid, footer, tutorial
77. 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-)
Links: Source Code / Demo
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
NEW
🔥 Auto-Apply to 100's of Jobs With AI 🔥
👉
Click to visit: ApplyFox.ai
Fixed (Sticky) Headers
1. Sticky Headers Be Sticky
Sticky Headers be Sticky but shit, I made a menu too.
Author: Joshua Ward (joshuaward)
Links: Source Code / Demo
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
High performance sticky header with shadow on scroll.
Author: Marco Biedermann (marcobiedermann)
Links: Source Code / Demo
Created on: July 1, 2017
Made with: HTML, PostCSS, Babel
Tags: sticky, header, scroll, material
3. 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)
Links: Source Code / Demo
Created on: April 22, 2016
Made with: HTML, CSS
Tags: sticky-header, element-query, container queries, element-queries, header
4. Scroll Header
Really smooth on mobile / touch enabled devices.
Author: Blake Bowen (osublake)
Links: Source Code / Demo
Created on: February 11, 2017
Made with: HTML, SCSS, JS
Tags: gsap, scroll, material design, header
5. 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)
Links: Source Code / Demo
Created on: December 27, 2015
Made with: HTML, SCSS, JS
Tags: fixed-header, shrink, sticky-nav, navbar, header
6. Header Fade
Author: Emmanuel Pilande (epilande)
Links: Source Code / Demo
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
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)
Links: Source Code / Demo
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
Setting classes on the header with javascript.
Author: jasper (jboeijenga)
Links: Source Code / Demo
Created on: January 21, 2015
Made with: HTML, SCSS, JS
Tags: auto hide, header, css
9. Sticky Header CSS Transition
Fun example of a sticky header utilizing some CSS3 transitions!
Author: Brady Sammons (soulrider911)
Links: Source Code / Demo
Created on: October 23, 2014
Made with: HTML, SCSS, JS
Tags: css3, jquery, html5, sticky-header
10. 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 thewrappers toand added a ".sections" wrapper.
Author: Chris Gruber (cgruber)
Links: Source Code / Demo
Created on: October 9, 2014
Made with: HTML, CSS, JS
Tags: navigation, slide, nav, top, sticky
11. Responsive Sticky Header Navigation
Cool Navigation by Philippe Fercha
Author: MarcLibunao (MarcRay)
Links: Source Code / Demo
Created on: June 8, 2014
Made with: HTML, CSS, JS
12. 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)
Links: Source Code / Demo
Created on: March 21, 2014
Made with: HTML, Less
Tags: css, less, fixed, header
13. Sticky Header Visual Trick
Creates a sticky hacky sticker header using CSS without creating a scroll event handler.
Author: Michael (mintyfloss)
Links: Source Code / Demo
Created on: July 18, 2013
Made with: HTML, CSS, JS
Tags: sticky-header
Fullscreen Headers
1. 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)
Links: Source Code / Demo
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
A simple header for a software company searching people to work with.
Author: Jorge Reyes (jorgert1205)
Links: Source Code / Demo
Created on: February 11, 2019
Made with: HTML, SCSS
Tags: landing, header, button, simple, minimal
3. Header For Landing Page Using Clip Path.
Author: Gerardo Valencia (grardovr)
Links: Source Code / Demo
Created on: February 26, 2018
Made with: HTML, CSS
4. 🌈 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)
Links: Source Code / Demo
Created on: September 4, 2017
Made with: HTML, CSS, JS
Tags: sexy, rainbow, animated, css, header
5. Flexbox Full Hero With Button
Author: Alan Tucker (alantucker)
Links: Source Code / Demo
Created on: February 2, 2017
Made with: HTML, SCSS
Tags: flexbox, hero
6. Hero Image Showcase
Author: Art (Skupienski)
Links: Source Code / Demo
Created on: September 22, 2016
Made with: HTML, CSS, JS
7. Flexbox Hero Header
Simple parallax hero header with flexbox
Author: Ana Vicente (anavicente)
Links: Source Code / Demo
Created on: April 5, 2016
Made with: HTML, CSS, JS
8. Simple Parallax Header With Blur
blur filter only supported in webkit
Author: tsimenis (tsimenis)
Links: Source Code / Demo
Created on: April 5, 2016
Made with: HTML, SCSS, JS
9. Hero OnScroll
Author: Irakli Verdzadze (verdzik)
Links: Source Code / Demo
Created on: October 21, 2015
Made with: HTML, CSS, JS
Tags: hero, mousewheel, scroll
10. Fullscreen Header + Background Color Cycle
Author: Kenny Sing (KennySing)
Links: Source Code / Demo
Created on: November 17, 2014
Made with: HTML, CSS
11. 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)
Links: Source Code / Demo
Created on: September 17, 2014
Made with: HTML, SCSS, JS
Tags: jquery, css, scrolling, fixed
Article Headers
1. Skewed CSS Header
Author: Arthur Camara (arthurcamara1)
Links: Source Code / Demo
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
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)
Links: Source Code / Demo
Created on: January 6, 2018
Made with: HTML, CSS
Tags: css, layout, header, fixed, transform
3. Curve CSS Header
Author: Omar Dsooky (linux)
Links: Source Code / Demo
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
Author: Paolo Duzioni (Paolo-Duzioni)
Links: Source Code / Demo
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
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)
Links: Source Code / Demo, Webmadewell.com
Created on: January 8, 2018
Made with: HTML, CSS, JS
Tags: parallax, css-animation, jquery
6. Curve SVG Background Animation
Author: Arman (armantaherian)
Links: Source Code / Demo
Created on: July 16, 2017
Made with: HTML, SCSS, JS
Tags: svg, animation, curve
7. CSS Animated Header
Ken Burns Animated blog header background image, no javascript
Author: Nodws (nodws)
Links: Source Code / Demo
Created on: May 30, 2017
Made with: HTML, CSS, JS
Tags: animation, header, blog, fixed
8. 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)
Links: Source Code / Demo
Created on: March 18, 2016
Made with: HTML, Sass, JS
Tags: responsive, slanted, skew, angle, parallax
9. Fixed Disappearing Scrolling Header
Photo by eflon, licensed under Creative Commons. Full explanation on my blog.
Author: Dudley Storey (dudleystorey)
Links: Source Code / Demo
Created on: October 28, 2016
Made with: HTML, SCSS
Tags: header, xenophon, anabasis, scroll
10. Multi-layered Parallax Illustration
Author: Patryk Zabielski (zabielski)
Links: Source Code / Demo
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
An idea for a project I am working on.
Author: iamtheWraith (iamtheWraith)
Links: Source Code / Demo
Created on: April 6, 2016
Made with: HTML, CSS, JS
12. 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)
Links: Source Code / Demo
Created on: January 24, 2015
Made with: HTML, CSS
Tags: typography, css3, fonts, typefaces, headings
13. Hero Zoom On Scroll
Simple zoom effect using window scroll to adjust some CSS.
Author: Derek Palladino (derekjp)
Links: Source Code / Demo
Created on: October 6, 2015
Made with: HTML, SCSS, JS
Tags: scroll, zoom, hero, article, image
14. Neat Parallax Hero Effect
Some javascript magic to make this nifty little parallax hero.
Author: magnificode (magnificode)
Links: Source Code / Demo
Created on: September 21, 2015
Made with: HTML, SCSS, JS
Tags: javascript, parallax, look out medium
15. CSS Parallax Header Image
Author: Bennett Feely (bennettfeely)
Links: Source Code / Demo
Created on: November 14, 2014
Made with: HTML, SCSS
Footers
1. Animated Footer Toggle
Expand/collapse footer with animations
Author: Sheelah Brennan (sheelah)
Links: Source Code / Demo
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
Evenly space links with CSS Grid. No margin or padding needed!
Author: Jules Forrest (julesforrest)
Links: Source Code / Demo
Created on: January 2, 2019
Made with: HTML, CSS
Tags: css-grid, footer, layout
3. Flexbox Sticky Footer Example
A simple example of using flexbox to create a sticky footer page layout.
Author: Ryan Mulligan (hexagoncircle)
Links: Source Code / Demo
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
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)
Links: Source Code / Demo, 500px.com
Created on: January 20, 2016
Made with: HTML, SCSS, JS
Tags: css, animated, footer, mobile, menu
5. 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)
Links: Source Code / Demo
Created on: January 6, 2015
Made with: HTML, CSS, JS
Tags: fixed, html, responsive, footer, parallax
6. Footer With Conent Scale
Author: Mātthīas (mfritsch)
Links: Source Code / Demo
Created on: September 1, 2015
Made with: HTML, Sass, JS
Tags: footer, scale, content
7. Social Media Footer
Just a hover effect for the social media links in the footer of a page.
Author: Andrew Canham (candroo)
Links: Source Code / Demo
Created on: September 22, 2016
Made with: HTML, Less
Tags: css, hover-effect
8. Simple Fixed Footer
Author: Mātthīas (mfritsch)
Links: Source Code / Demo
Created on: March 9, 2015
Made with: HTML, Sass, JS
Tags: simple, fixed, footer
9. 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)
Links: Source Code / Demo
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
A quick example of a fixed footer,
Author: Mads Håkansson (madshaakansson)
Links: Source Code / Demo
Created on: May 4, 2014
Made with: HTML, CSS, JS
Tags: fixed-footer, footer, fixed, css
11. Pure CSS Classy Footer
Pure CSS transitioned footer. Keeps away from content, shows itself when it needs to be seen.
Author: Nick Braver (nickbraver)
Links: Source Code / Demo
Created on: January 4, 2014
Made with: HTML, CSS, JS
Tags: footer, css, classy, transitions, pop
12. Beautiful Aurora Footer Lights
Beautiful Aurora lights display for footer.
Author: Amit Ashok Kamble (amyth91)
Links: Source Code / Demo
Created on: July 25, 2012
Made with: HTML, CSS
Tags: css3, beautiful-footer, css3-animations, aurora-effect
Video Headers
1. React Video Header
Author: Mark Sarpong (Markus1607)
Links: Source Code / Demo
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
Author: Alex (rizer)
Links: Source Code / Demo
Created on: February 5, 2017
Made with: HTML, Stylus, JS
3. 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)
Links: Source Code / Demo
Created on: October 19, 2016
Made with: HTML, SCSS, JS
4. 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)
Links: Source Code / Demo
Created on: September 3, 2016
Made with: HTML, SCSS
Tags: video, background, fullscreen, blend-modes, text
5. 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)
Links: Source Code / Demo
Created on: September 8, 2015
Made with: HTML, CSS
Tags: video, html, css, bootstrap
6. 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)
Links: Source Code / Demo
Created on: May 19, 2015
Made with: HTML, SCSS
Tags: responsive, video, gradient, 404, error
More Awesome Lists:
Share: