Parallax effect using pure vanilla JavaScript | Zoom in and darken background on scroll

Опубликовано: 29 Сентябрь 2024
на канале: CodeIT
748
26

Hello viewers... In this video, we created a parallax effect on the background which can zoom in and darken the background image as we scroll down. The parallax effect looks pretty cool😎 and there are lots of such effects. But this one is one of the advanced parallax effects. The parallax effect created in this video is done using pure vanilla JavaScript and no plugins. Hope you all will like it.

Image used in the video:- https://images.pexels.com/photos/1144...

⌛Timestamps:-

00:00 - Intro
00:35 - Main
04:06 - Outro

📝Source code:-
https://codepen.io/pen/?template=xxEvJzd

This video is a part of the video series in which we are creating projects using pure vanilla JavaScript the link of which is given down below:-

   • Pure vanilla JavaScript projects  

🌏Find me on:-

Github:- https://github.com/ani-24
CodePen:- https://codepen.io/codeit-ani

******************************************************************************

Thanks for watching...
If you liked the video, smash the like button, make sure you are subscribed to the channel and press the bell icon to get an instant notification of our latest videos.