Design comparison
Solution retrospective
Dunno.
What challenges did you encounter, and how did you overcome them?Wasn't sure at first how to make the responsive design of the text without media queries, then I found out about the clamp() function and implemented it for the card as well.
What specific areas of your project would you like help with?Any remarks are welcome!
Community feedback
- @Alex-Archer-IPosted 5 months ago
Hi! Very cool find =) I struggled with this task too and ended up with
calc(0.9rem + 0.1vw)
, butclamp()
seems better as it maintain max value as well.Great work at all =)
1@porumbachanovPosted 5 months ago@Alex-Archer-I Thanks! At first I played around with
calc()
too and tried to eyeball the size, but I wanted to have a max value as well because it stretches too much and looks weird.clamp()
made things easier and did exactly what I wanted :D.1@Alex-Archer-IPosted 5 months ago@Vrondir It even can take a
calc()
as one of parameters! Very flexible function =)1 - @okonksPosted 5 months ago
this looks great!
1
Please log in to post a comment
Log in with GitHubJoin 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