This project is a creative way to display a collection of photos using expanding cards. The main page consists of several panels, each containing a different photo. When a panel is clicked, it expands to reveal the full photo and a caption (if you want to add).
- Responsive design: The layout adjusts according to the size of the user's screen.
- Expanding cards: Clicking on a card expands it to show the full photo and a caption.
- Smooth transitions: The expansion and contraction of the cards are animated for a smooth visual experience.
- Open
index.html
in your web browser. - Click on any panel to expand it and view the full photo and caption (depends on you).
- Click on the expanded panel or another panel to contract it.
index.html
: This file contains the HTML structure of the project. It includes several panels, each with a background image and a caption.style.css
: This file contains the CSS styles for the project. It includes styles for the panels and the expanding animation.script.js
: This file contains the JavaScript code for the project. It includes the functionality for expanding and contracting the panels.
- HTML
- CSS
- JavaScript