35+ CSS Hero Effects - Free Code + Demos

Collection of 35+ CSS Hero Effects. All items are 100% free and open-source.

NEW 🔥 Auto-Apply to 100's of Jobs With AI 🔥
👉 Click to visit: ApplyFox.ai

1. Dual Picture Hero

CSS Hero Effects - dual picture hero
Author: Bart (Bartjo)
Created on: January 1, 2020
Made with: HTML, CSS

2. ✅ 🎥 Hero Waves

CSS Hero Effects - ✅ 🎥 Hero Waves
Author: Krzysztof Furtak (KrzysiekF)
Created on: October 16, 2019
Made with: HTML, CSS

3. Hero Animation

CSS Hero Effects - Hero Animation
Author: Clifton T Canady (cliftonc0613)
Created on: September 17, 2019
Made with: HTML, SCSS

4. Hero Module With Flexbox And The 'vh' Unit

CSS Hero Effects - Hero module with Flexbox and the 'vh' unit
The Hero is a widely used module. This version is created with modern techniques like Flexbox and the 'vh' unit. Flexbox and the 'vh' unit makes it possible to create this module with less code.
Author: Wouter van der Zee (woutervanderzee)
Created on: December 1, 2017
Made with: HTML, SCSS
Tags: hero, flexbox, vh

5. Diagonal Hero Div With CSS Star Animation Background

CSS Hero Effects - Diagonal Hero Div With CSS Star Animation Background
Author: Michael Becker (humblemeteor)
Created on: June 19, 2017
Made with: HTML, SCSS

6. Stripe Hero

CSS Hero Effects - Stripe hero
stripped down version of Stripe.com's hero for educational purposes.
Author: chickennate (chickennate)
Created on: October 4, 2016
Made with: HTML, CSS
Tags: responsive, gradient, angled

7. Animated Hero Background

CSS Hero Effects - Animated Hero Background
An animated hero background, that can be used for portfolio sites
Author: Dinesh Balaji (sidthesloth92)
Created on: May 21, 2016
Made with: Pug, SCSS, JS
CSS Pre-processor: SCSS
JS Pre-processor: None
HTML Pre-processor: Pug
Tags: animation, hero, css, header, background

8. Animated Hero Image With CSS Clipping

CSS Hero Effects - Animated hero image with CSS clipping
Animated with CSS and applied CSS fixed item clipping to get subtle animation.
Author: Mihael Tomić (mihaeltomic)
Created on: March 7, 2016
Made with: HTML, PostCSS
Tags: css, clipping, animation, hero, fixed

9. Hero Experiment

CSS Hero Effects - hero experiment
Mix gradients with some colourful background – have yourself some cool hero
Author: Screeny (screeny05)
Created on: January 7, 2016
Made with: HTML, SCSS
Tags: hero, css-filter

10. Hero Image × CSS Gradient

CSS Hero Effects - Hero Image × CSS Gradient
Author: Naoya (nxworld)
Created on: May 10, 2015
Made with: HTML, CSS
Tags: css, background, hero-image, gradient

11. Headings/Hero Image Typography Playground

CSS Hero Effects - 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

12. Tinted Hero

CSS Hero Effects - Tinted Hero
A quick way to tint a typical hero in websites. Just use a pseudo class instead of another div: .hero:before { content: ''; position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: rgba(0, 7, 100, .6); }
Author: Luis Herrero (luishj)
Created on: December 6, 2013
Made with: HTML, CSS, JS
Tags: pseudo-class, rgba, hero, tint

13. Full-Width Responsive CSS Hero Image With Heading + Caption + Button + Popup

CSS Hero Effects - Full-Width Responsive CSS Hero Image with Heading + Caption + Button + Popup
Full-Width Responsive CSS Hero Image with Heading + Caption + Button + Popup
Author: Andre (action360ca)
Created on: February 23, 2018
Made with: HTML, CSS
Tags: responsive, css, hero, heading, caption

14. CSS - Hero Header - Responsive BG Image (Banner)

CSS Hero Effects - CSS - Hero Header - Responsive BG Image (Banner)
Hero image with Fluid Parameters
Author: OB1 (OB-1)
Created on: September 17, 2015
Made with: HTML, CSS
Tags: hero-image, fluid-image, div-background, div bg

15. CSS Animation 101 - Hero Image

CSS Hero Effects - CSS Animation 101 - Hero image
From the course: https://cssanimation.rocks/courses/animation-101/
Author: Donovan Hutchinson (donovanh)
Created on: April 20, 2015
Made with: HTML, SCSS, JS
Tags: css-animation, svg

16. A “hero Panel” With Video Background

CSS Hero Effects - A “hero panel” with video background
This Pen requires jQuery and Vide (http://vodkabears.github.io/vide/).
Author: Larus Digital (gordonmacdotcom)
Created on: February 26, 2016
Made with: HTML, CSS
Tags: video, heropanel, animation

17. Double Hero Image&Text Positioning

CSS Hero Effects - Double Hero image&Text positioning
Hero image with simple text positioning. I'm glad to share with you my first pen :) just a little CSS exercise
Author: Juande Megías Roca (miXTim)
Created on: May 28, 2019
Made with: HTML, CSS
Tags: hero-image, text positioning

18. Full-Width Hero With Image Using Flexbox

CSS Hero Effects - Full-Width Hero with Image Using Flexbox
A full-width hero section with background image using flexbox to center the content over the image. It's responsive to the viewport height and width using vh and vw. The content includes a ghost button.
Author: Brian Haferkamp (brianhaferkamp)
Created on: July 19, 2016
Made with: HTML, Sass
Tags: flexbox, full-width, hero, image

19. The Perfect Hero Image

CSS Hero Effects - The Perfect Hero Image
Background image will resize depending on browser width
Author: Katherine (katstar01)
Created on: December 23, 2015
Made with: HTML, CSS

20. Hero Full Width / Full Bleed Effec

CSS Hero Effects - Hero Full Width / Full Bleed Effec
Author: Raphael Goetter (raphaelgoetter)
Created on: July 20, 2020
Made with: HTML, SCSS
Tags: bleed, full-width, hero

21. Hero Images Slideshow Using CSS Animation

CSS Hero Effects - Hero Images slideshow using CSS animation
Author: Alex (LalexG)
Created on: May 17, 2018
Made with: HTML, CSS, JS

22. Full Screen Hero Section

CSS Hero Effects - Full screen Hero Section
Author: Usama Baig (ubaig54)
Created on: June 10, 2019
Made with: HTML, CSS

23. Typical Hero With Background Attachment

CSS Hero Effects - Typical Hero with Background Attachment
Author: Cody Pearce (codypearce)
Created on: October 2, 2018
Made with: HTML, CSS
Tags: background-attachment, hero-image

24. Easy Hero Image

CSS Hero Effects - Easy hero image
Should work across modern browsers. No media queries to be responsive.
Author: Mark (xmark)
Created on: April 16, 2015
Made with: HTML, Less
Tags: hero-image, responsive, simples, modern-browsers

25. Office UI Hero Section

CSS Hero Effects - Office UI Hero Section
The ui_gradient instagram page set out a challenge to design an office website hero section. After completing the task in figma, I decided to code it here.
Author: Gary Byrne (garyb1)
Created on: April 27, 2020
Made with: HTML, SCSS
Tags: office, hero, lato, html, css

26. Hero-Image Mit Abdeckung

CSS Hero Effects - Hero-Image mit Abdeckung
Author: Jens Grochtdreis (jensgro)
Created on: October 2, 2019
Made with: HTML, SCSS
Tags: flexbox, bild, hero

27. Development Pattern: Inner Div

CSS Hero Effects - Development Pattern: Inner Div
The inner div is a very common development pattern I use for controlling content inside a section. I made a video tutorial showing some example usage:
Author: Brian Haferkamp (brianhaferkamp)
Created on: August 20, 2019
Made with: Pug, Sass
CSS Pre-processor: Sass
JS Pre-processor: None
HTML Pre-processor: Pug
Tags: layout, css, design, hero

28. Tailwind CSS Hero Component

CSS Hero Effects - Tailwind CSS Hero Component
Author: Dan Gayle (dangayle)
Created on: July 26, 2019
Made with: HTML, CSS
Tags: tailwind, tailwindcss, hero

29. Landing Page Header

CSS Hero Effects - Landing Page Header
A full-screen landing page header with background image, navigation, and intro text. I did a video tutorial showing how I made it: https://youtu.be/ld2wl4zQG_w
Author: Brian Haferkamp (brianhaferkamp)
Created on: May 10, 2019
Made with: Pug, Sass
CSS Pre-processor: Sass
JS Pre-processor: None
HTML Pre-processor: Pug
Tags: css, flexbox, landing-page, hero

30. CSS Scroll Reveal Sections

CSS Hero Effects - CSS Scroll Reveal Sections
Use the clip-path property to create fixed position hero sections
Author: Ryan Mulligan (hexagoncircle)
Created on: January 14, 2019
Made with: Pug, SCSS
CSS Pre-processor: SCSS
JS Pre-processor: None
HTML Pre-processor: Pug
Tags: clip-path, hero, scroll section, css, fixed-position

31. Layout - Hero

CSS Hero Effects - Layout - Hero
Author: Chris (millertchris)
Created on: July 10, 2018
Made with: HTML, SCSS
Tags: layout, hero

32. Header, Hero, Colored CTA - Konnects

CSS Hero Effects - Header, Hero, Colored CTA - Konnects
Author: SeedLogix (seedlogix789)
Created on: June 20, 2018
Made with: HTML, CSS
Tags: josh, hero, slider, navigation
NEW 🔥 Auto-Apply to 100's of Jobs With AI 🔥
👉 Click to visit: ApplyFox.ai