A simple and visually appealing Parallax Scrolling Website built using HTML and CSS. This project demonstrates how to create a 3D parallax effect using CSS properties such as perspective, transform, and translateZ().
- Smooth parallax scrolling effect
- Layered background and foreground images
- Fixed background sections
- Responsive layout structure
- Clean and beginner-friendly code
- HTML5
- CSS3
Parallax-Website/
│
├── index.html
├── styles.css
├── background.png
├── foreground.png
├── sport-1.jpg
├── sport-2.jpg
└── sport-3.jpg
The website includes:
- Hero section with parallax effect
- Adventure introduction section
- Biking showcase
- Paragliding showcase
- Surfing showcase
Each activity section uses a fixed background image to create an immersive scrolling experience.
The parallax effect is achieved using:
perspectiveon the wrapper elementtransform-style: preserve-3dtranslateZ()for depth positioningscale()to compensate for perspective distortionbackground-attachment: fixedfor section backgrounds
- Clone the repository:
[git clone https://github.com/your-username/parallax-website.git](https://github.com/wwwsandipsingha801-collab/Parallax-Website.git)- Navigate to the project folder:
cd parallax-website- Open
index.htmlin your browser.
This project helps in understanding:
- CSS 3D transforms
- Perspective and depth
- Positioning elements
- Background image handling
- Modern webpage layouts
Scroll through the page to experience the layered parallax animation and fixed background sections.
Contributions, suggestions, and improvements are welcome. Feel free to fork the repository and submit a pull request.
This project is open source and available under the MIT License.
Made with ❤️ using HTML and CSS.