AntonioNB4 Posted October 27, 2023 Share Posted October 27, 2023 It's probably a stupid question, but I can't give the parallax effect to the background. I'm looking at all the old topics or on codepen, but it's not working as it should work. Can anyone help me on this simple request? See the Pen OJdMPQM by Antonio-Nocella (@Antonio-Nocella) on CodePen Link to comment Share on other sites More sharing options...
Solution Carl Posted October 27, 2023 Solution Share Posted October 27, 2023 Perhaps this simplified demo of mine can help. The basic idea is that your background needs to be larger than the element it is applied to. I'm using a portrait image inside a square container which guarantees there will always be extra image to reveal See the Pen gOZaoPK by snorkltv (@snorkltv) on CodePen 3 Link to comment Share on other sites More sharing options...
AntonioNB4 Posted October 28, 2023 Author Share Posted October 28, 2023 It works 🤩 Easy things but for me the parallax is so difficult Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now