Profile Card Component

Please log in to post a comment
Log in with GitHubCommunity feedback
- @correlucas
👾Hello Fuhad, congratulations for your solution!
You did a really good solution here, the background is the hardest part and is working well.
You've only to fix the component that isn't responsive due the
width
you've inserted for some elements. You don't need to se theheight
this value come from the elements inside and its paddings/margins. Addmax-width
in order to allow it to contract when the screen resizes. See the code below:.container { max-width: 380px; }
Also avoid to use position relative to center the component elements, using
display: flex
you'll have really more control over these elements.Hope it helps, happy coding bro.
Marked as helpful
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