Hand-Picked HTML, CSS, and JavaScript Parallax Effect Code Examples

Browse a curated selection of hand-picked HTML, CSS, and JavaScript parallax effect code examples to create stunning, interactive scrolling effects for your website.

Parallax Photo Columns with CSS Scroll Linked Animations

Author:
Jhey | October 14, 2022
Made with:
HTML / CSS / JS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
scroll-timeline.js

Disney Wall Parallax. Only CSS

Author:
Fernando Cohen | August 23, 2022
Made with:
HTML / CSS (SCSS)

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Easy Parallax Effect with background-attachment: fixed

Author:
Dusko Stamenic | March 23, 2022
Made with:
HTML / CSS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

CSS Sticky Parallax Sections

Author:
Ryan Mulligan | December 2, 2020
Made with:
HTML (Pug) / CSS

About a code

Uses position: sticky and scale transforms to create a sticky parallax effect with CSS.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

CSS Parallax Hero

Author:
Ryan Mulligan | April 10, 2020
Made with:
HTML (Pug) / CSS (SCSS)

About a code

Parallax effect created with CSS transforms and perspective properties.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

CSS-Only Horizontal Parallax Gallery

Author:
Paulina Hetman | January 24, 2020
Made with:
HTML / CSS

About a code

A few beautiful photos from Paris in this experimental gallery. Uses transforms together with perspective property for parallax.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Pure CSS Multilayer Parallax

Author:
Kiaan Castillo | July 8, 2019
Made with:
HTML / CSS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Whole UI without JavaScript

Author:
Andrej Sharapov | March 15, 2019
Made with:
HTML (Pug) / CSS (SCSS)

About a code

The whole site on pure CSS (without JavaScript): parallax scrolling; simple animation of links and buttons with the css-property cubic-bezier; smooth scrolling when click on the navigation animation of the hamburger click open/close the click menu. etc.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
font-awesome.css

Mouse Move Parallax

Author:
oscicen | January 10, 2019
Made with:
HTML / CSS / JavaScript

About a code

Simple parallax in HTML and CSS with little vanilla JavaScript.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
no
Dependencies:
-

Parallax Effect

Author:
Guilmain Dorian | November 30, 2018
Made with:
HTML (Pug) / CSS (Less) / JavaScript

About a code

Optimised for Google Chrome, some problems appear on Mozilla with background-clip: text;

Compatible browsers:
Chrome, Edge, Firefox (partial), Opera, Safari
Responsive:
no
Dependencies:
-

Parallax Shadows

Author:
Janne Aukia | November 5, 2018
Made with:
HTML / CSS / JavaScript

About a code

Mobile-friendly parallax shadows.

Compatible browsers:
Chrome, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

3D CSS Parallax Depth Effect

Author:
Adrian Payne | November 2, 2018
Made with:
HTML / CSS (SCSS) / JavaScript (Babel)

About a code

Playing with CSS translate and rotate transforms based on mousemove (sorry mobile users) to simulate some z-axis depth on the card and individual movie characters.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Image Cutout, Parallax Effect: CSS + SVG

Author:
Alex O'Neal | October 28, 2018
Made with:
HTML / CSS

About a code

This works on desktop/laptop, but not on mobile. Make an SVG cutout of the same background color as your background. Make a parallax background with CSS. Use the same proportions as your SVG. Place an img of your SVG inside the HTML for your parallax div. Align and size parallax background as you like. Don't forget to make things responsive!

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

CSS Only Parallax

Author:
Sil van Diepen | October 8, 2018
Made with:
HTML (Pug) / CSS (SCSS)

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

CSS-Only Parallax Effect

Author:
Yago Estévez | October 6, 2018
Made with:
HTML (Pug) / CSS

About a code

No Javascript required. Just plain CSS.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Parallax Image Gallery

Author:
Booligoosh | June 25, 2018
Made with:
HTML / CSS / JavaScript

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
rellax.js

Page Top Parallax

Author:
jakob-e | May 27, 2018
Made with:
HTML / CSS (SCSS) / JavaScript (TypeScript)

About a code

Page top parallax (SVG + CSS Variables).

Compatible browsers:
Chrome, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Parallax Scroll

Author:
gokulan | August 13, 2017
Made with:
HTML / CSS

About a code

Simple parallax scroll with a fixed background.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Parallax Grid

Author:
Casey Callis | June 14, 2017
Made with:
HTML / CSS / JavaScript

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
jquery.js, parallax.js

Parallax Background

Author:
Ravi Dhiman | September 4, 2016
Made with:
HTML (Pug) / CSS (SCSS)

About a code

Pure CSS background parallax.

Compatible browsers:
Chrome, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Card

Author:
Elena | July 7, 2016
Made with:
HTML / CSS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

CSS Parallax Orbs

Author:
Jamie Coulter | January 20, 2016
Made with:
HTML (Haml) / CSS (SCSS)

About a code

Inspired by Sims 4.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
no
Dependencies:
-

Responsive Magazine Spread

Author:
Mark | October 24, 2015
Made with:
HTML / CSS (Less)

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Parallax Landscape CSS Only

Author:
Dave Chenell | April 14, 2015
Made with:
HTML / CSS (SCSS)

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Pure CSS Parallax Effect (Depth of Field)

Author:
FlyC | August 13, 2014
Made with:
HTML / CSS (SCSS)

About a code

Use pure CSS create parallax effect with depth of field. And a little bit pop-up photo browser.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Parallax World of UGG

Author:
Andrew | April 29, 2014
Made with:
HTML / CSS

About a code

A parallax experiment with the World of UGG landing page.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-

Discover Our Extensive Snippet Library

This heading suggests that your website provides a wide variety of snippets across different technologies, encouraging users to explore and use these resources for their development projects.

HTML Snippets.

Explore a collection of HTML snippets designed to streamline your web development process. From basic structures to complex elements.

CSS Snippets.

Discover powerful CSS snippets that help you style your web pages with ease. Whether you need layout solutions, animations

JavaScript Snippets.

Enhance your website's interactivity with our JavaScript snippets. From DOM manipulation to advanced algorithms

Bootstrap Snippets.

Leverage the power of Bootstrap with our collection of snippets. Quickly integrate responsive design components

Tailwind Snippets.

Speed up your development process with Tailwind CSS snippets. These utility-first CSS snippets enable you to

jQuery Snippets.

Simplify your JavaScript development with jQuery snippets. Easily perform common tasks like event handling, animations

React Snippets.

Build robust, component-based user interfaces with our React snippets. From state management to lifecycle methods,

Vue Snippets.

Streamline Vue.js development with our collection of snippets for creating components, managing state, and handling events.

Ready to set your Brand ablaze?

Let's craft a visual identity that ignites passion and loyalty. ✨