An open API service indexing awesome lists of open source software.

https://github.com/teotimepacreau/expanding-cards-day1-of-100daysofcode

Expanding image cards built with Vanilla JS, CSS, HTML
https://github.com/teotimepacreau/expanding-cards-day1-of-100daysofcode

100daysofcode css expanding-cards flexbox html landscape vanillajs

Last synced: 3 months ago
JSON representation

Expanding image cards built with Vanilla JS, CSS, HTML

Awesome Lists containing this project

README

        

# Expanding Cards

![Expanding-cards-demo](https://github.com/teotimepacreau/Expanding-Cards-Day1-of-100DaysOfCode/blob/main/Expanding-cards.gif)

# Project goal

- handle images with object-fit: cover
- responsive handling
- CSS animation + transition to give it the smooth through the effect
- use Flexbox to create component and align
- add Vanilla JavaScript so that when the user click one of these cards, it changes the class and then expands with a CSS transition
- Vanilla JS eventListener, loops, class and attributes handling, create/remove DOM elements

# 🛠️
HTML, CSS, Vanilla JavaScript