Design comparison
Solution retrospective
Hello everyone, this project is tough for some reason, mobile view i think is completed, but its the desktop view i keep having problems. First the border radius is being applied from mobile view, then the bottom is uneven- i dont know why? Any help is appreciated.
Community feedback
- @DineshrajAnandanPosted over 3 years ago
Hi Julian,
A Few Things I have noted.
You have set border radius for
information
class as0 0 10px 10px
for mobile view. This has to be changed to0 10px 10px 0
for desktop view.To fix the height of the image in desktop view, you can set
height: 100%
atmain-image
class.And for creating the tooltip in the desktop view, you can use simple CSS. you can refer to this one if it helps. "https://www.w3schools.com/css/css_tooltip.asp"
And I have just attempted the same challenge recently. Please refer to my solution if it helps. https://github.com/DineshrajAnandan/FrontEndMentorChallenges/tree/main/article-preview-component
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