css Beginner Questions

Asked 2 years ago, Updated 2 years ago, 152 views

https://ko.wix.com/website-template/view/html/1905?siteId=bf6aeb61-6d03-4b41-9d17-41510aea2db8&metaSiteId=a82e916a-5f83-4c62-ad07-53c98a45a9e6&originUrl=https%3A%2F%2Fko.wix.com%2Fwebsite%2Ftemplates%2Fhtml%2Fmost-popular

It hasn't been long since I started web programming, so I'm practicing this and that Like the wallpaper of the place with the success image on the above site When I scroll down The phenomenon where the image seems to be fixed but moves little by little, I don't know how to make it background-attachment: fixed; z-index: I've tried it before. It looks similar, but it's a bit unnatural It's hard to find it even if I try to google it I would appreciate it if you could tell me roughly how to do it.

html css javascript react

2022-09-22 18:52

1 Answers

The design pattern you are referring to is called parallax scrolling. Analyze this answer and This demo well.


2022-09-22 18:52

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.