This project demonstrates a stunning Parallax Scrolling Effect on a web page, achieved using Vanilla JavaScript. It features a dynamic night-to-day transition with various elements such as stars, the moon, and mountains moving at different speeds to create an immersive parallax effect.
- Dynamic Parallax Effect: Elements move at different speeds for a 3D-like experience.
- Night-to-Day Transition: Seamlessly transitions from a starry night to a sunny day backdrop.
- Pure JavaScript: No external libraries or frameworks used.
To view this project:
-
Clone the repo: git clone https://github.com/AliJone/Parallax-Effect-Website-HTML-CSS-JS.git
-
Open the
index.htmlfile in a web browser.
Simply scroll down the page to see the parallax effect in action. The movement and opacity of the elements like stars, moon, and mountains change in response to the scroll position.
- HTML
- CSS
- Vanilla JavaScript
Feel free to fork this repository and contribute to it. All contributions are welcome!
Created by Ali Jone - feel free to contact me!
www.linkedin.com/in/ali-jone-merchant