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 ?
Yes, the background should also move at a much lower rate. That is what's called a parallax effect.
Hi Tom This is why it is labelled "parallax style" to distinguish it, aim was for simplicity.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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 ?
Yes, the background should also move at a much lower rate. That is what's called a parallax effect.
Hi Tom
This is why it is labelled "parallax style" to distinguish it, aim was for simplicity.