responsive profile-card using flex box

Solution retrospective
positioning the light circled image at the background and also positioning the circled image at the center with not only position relative and absolute but with addition of flex
What challenges did you encounter, and how did you overcome them?positioning both the image and the circled correctly
Please log in to post a comment
Log in with GitHubCommunity feedback
- @thisisharsh7
Great job figuring out the positioning — those background circles can be tricky! 💡 Using flex together with position: absolute was a smart move to get perfect centering. It’s nice that you handled both mobile and larger screens with your media queries too.
For next time, maybe explore transform: translate(-50%, -50%) as another way to center absolutely positioned elements — it pairs well with top: 50%; left: 50%.
Keep it up — this layout looks clean and responsive! 🙌
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