DEV Community

Discussion on: Tailwind CSS parallax effect

Collapse
 
pavelloz profile image
Paweł Kowalski

Yeah, for a second I wondered if parallax changed definition to fixed background. ;)

Collapse
 
dailydevtips1 profile image
Chris Bongers

Ah to me this is parallax haha..
I know it can also have the double negative scroll, but don't think it's a must to be parallax.

Thread Thread
 
pavelloz profile image
Paweł Kowalski

Cool.
I always thought of it this way: w3schools.com/howto/howto_css_para...

Thread Thread
 
dailydevtips1 profile image
Chris Bongers

Is that not using the exact same method for you?
It's a fixed background in the demo there. 🤟

Thread Thread
 
pavelloz profile image
Paweł Kowalski

No. Fixed background is fixed background. Foreground elements scrolling with different speed than fixed background is called parallax.

Thread Thread
 
hunterpp profile image
Hunter Peress

These are parallax ;-) awwwards.com/30-great-websites-wit...