DEV Community

Discussion on: How To Create A Simple Parallax Style Effect With CSS

Collapse
 
tomhermans profile image
tom hermans

Nice explanation Chris. And very simple indeed.
However, correct me if I'm wrong, this image stays fixed. Isn't a parallax bg supposed to scroll as well, albeit in a much slower fashion, mimicking a depth effect between fore- and background ?

Collapse
 
dkoczka profile image
David Koczka

Yes, the background should also move at a much lower rate. That is what's called a parallax effect.

Collapse
 
chrisdixon161 profile image
Chris Dixon

Hi Tom
This is why it is labelled "parallax style" to distinguish it, aim was for simplicity.