Profile Card using my brain and fingers to overcome frustration
Design comparison
Solution retrospective
I have finished this one after ages. I struggled so much with getting the background correct but I still haven't managed to do it in a responsive way.
If you could give me a hint as to how to do the background so it works well when responsive I'll let you feed my pet duck.
Thank you
Community feedback
- @FluffyKasPosted over 2 years ago
Hello,
I rarely link my own solutions to help others but here we go, check out mine. It's one of my first projects I have completed on Frontend Mentor so I'm sure it's a bit dated and could use some improvements, but the said background works well the way I did it, at least. To sum it up, you can add the circles and use viewport units to set them in the right place. You could I guess also use ::before and ::after, but setting them as a simple background is probably easier and less code.
The rest of your code looks really good btw, not much to nitpick. Perhaps you could add an alt text to the profile picture. "Victor Crest." would be perfect.
0 - @notabhishekraiPosted over 2 years ago
pretty good
but you should use ::before and ::after in the body and then set the background color in the body. with before and after, you can position the images as you like. It should solve your responsive issue.
I see you have used those svg as background.
you can use my code as reference https://github.com/notabhishekrai/profile-card-component
although it isn't perfect, i hope you can learn something from it, also you can give your feedbacks.
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