
Submitted over 2 years ago
i used the flex display making the card more responsive for web/mobile
@Creepy01
Design comparison
SolutionDesign
Please log in to post a comment
Log in with GitHubCommunity feedback
- @j-tomajin
HELLO!
- you can use the
<picture>
tag:
<picture> <source media="(min-width: 780px)" srcset="images/image-product-desktop.jpg"> <img src="images/image-product-mobile.jpg" alt="product-img"> </picture>
-
This will automatically switches the images with the given
min-width
. -
use semantic tags such as
<main>
,<section>
,<article>
and so on. It is actually a good practice using semantic tags. -
also use
letter-spacing
for the perfume
HOPE IT HELPS. HAPPY CODING! :D
- you can use the
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord