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

https://github.com/teotimepacreau/discarding-effect-and-container-queries-day3-of-100daysofcode

Discarding effect and container queries to adapt cards dynamically built with CSS and HTML
https://github.com/teotimepacreau/discarding-effect-and-container-queries-day3-of-100daysofcode

100daysofcode card-effect coding-challenge container-queries css css-transitions discarding-effect flexbox grid hover-effect html restaurant-menu

Last synced: about 2 months ago
JSON representation

Discarding effect and container queries to adapt cards dynamically built with CSS and HTML

Awesome Lists containing this project

README

        

# Discarding effect and container queries to adapt cards dynamically
![Discarding demo](https://github.com/teotimepacreau/Discarding-effect-and-container-queries-Day3-of-100DaysOfCode/blob/main/Cards%20discarding%20effect%20and%20container%20queries.gif)

# Project goal

- discarding effect with translateX + rotate + scale
- enabling dynamic and adaptive styling with container queries (the card change its layout based on it's own size)
- position relative and position absolute to create the top left icon
- border-radius container handle with images thanks to "overflow: hidden"
- images taking up all parent thanks to Flexbox
- input styling with ellipsis to avoid text overflow
- CSS animation + transition to give it the smooth effect
- hover-effect
- responsive handle
- Flexbox to create component and align + Grid for the general UI

# 🛠️
HTML, CSS