VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » freeCodeCamp.org
Parallax Tutorial - Scrolling Effect using CSS and Javascript

Parallax Tutorial - Scrolling Effect using CSS and Javascript

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
Learn how to create a Parallax effect using CSS and Javascript. We are going to create two different types of parallax effects. Tutorial from GTCoding. Check out the GTCoding
Date: 2022-03-14

Comments and reviews: 7


I had to use nth of type, not nth child, to get it to assign the right image or colour to the right div, not sure why... I copied exactly, it always treated div 1 as the third child. My understanding of it maybe poor, like why is the first div the Parent? I could beleive it treats maybe head or body as the parent, but that clearly didn't happen for the tut and I didn't see anyone else report it
reply

How do i make this work on only specific sections ( section ID=--) etc. This tutorial is only for 4 specific DIVs, which isn't as convenient when working with multiple sections that are prebuilt. When I start this tutorial and get to the ( div:nth-child(1) ) , this changes every div background in my document.
reply

Awesome...awesome tutorial. No query, no plugins, just plain old javascript. I take/took courses on Udemy and all that, this was by far the best little tutorial I've seen in a long, long time. This right here is why I love to practice web design. Thank you.
reply

My background always jumps right at the beginning when I start scrolling and then works fine...any suggestions how to get rid of that jump at the beginning?
reply

Awesome! Made my webpage look so much better. Could anyone help me with just one thing? Is there a way to disable this specific code for mobile devices?
reply

Perfect tuto and explanations. Very simple way for this effect but not for responsive. Thx a lot man. (if you have a responsive solution I take it -)
reply

Very simple and helpful, but how do you make it less jittery if you're using a large background image or have a lot of content?
reply
Add a review, comment






Other channel videos