@antoinerameSubmitted almost 4 years ago
Hi, Thank you for reading my code ! Do I use too much div ? Antoine
Hi, Thank you for reading my code ! Do I use too much div ? Antoine
Hi, first of all, my english is not very good, sorry :(
You can add a max widht to your card class that is equal to 375 to prevent it from continuing to grow at breakpoints.
To the card-top class, you add position relative.
to the image class you add absolute position with values top: 92px and in left: calc (50% - 53px). In this way the image will always be positioned in the center of the card.