Design comparison
Solution retrospective
I like that the site's status returns to its initial state whenever the width changes.
What challenges did you encounter, and how did you overcome them?Implementing the tooltip was the hardest part because it overlaps the white card component. I guess I cheated a lot but I is okay-ish in the end.
I still do not know why the image in the desktop version does not take 285px when I define it. I cheated with setting it to 90%. Not happy with that.
What specific areas of your project would you like help with?How would I normally implement a tooltip inside an "overflow:hidden" component?
Community feedback
- @wideirpPosted 3 months ago
Well done! To imitate the design, the font should be a shade lighter but your version looks fine. Also, many
<div>
elements could be replaced with more semantic elements such as article and section. Your sass is very clean and easy to read.For the tooltip, I made it the last element of the card and toggled it with a data attribute.
P.S. : Never gonna give you up, Never gonna let you down, Never gonna run around and desert you
0
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