In this project, we create a pop-up image (usually called a Lightbox) when an image is clicked on your page with plain HTML, CSS, and Javascript. In this first part, we’ll focus on HTML/CSS.
You’ll learn how to:
Add custom data attributes
Set up a responsive grid layout for images
How to load small images and then load larger ones onClick
Change color of inline SVGs based on the currentColor
Add/remove pointer events
and more!
Comment with questions or suggestions.
Part 2: • Lightbox Image Gallery (Intermediate Vanil...
On this page of the site you can watch the video online Lightbox Image Gallery (Intermediate Vanilla Javascript Project) — Part 1: HTML/CSS with a duration of hours minute second in good quality, which was uploaded by the user Coding in Public 15 April 2021, share the link with friends and acquaintances, this video has already been watched 4,955 times on youtube and it was liked by 84 viewers. Enjoy your viewing!