Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted almost 5 years ago

Profile Card Component - flexbox and mobile-first

Janelle Schuh•90
@jschuh23
A solution to the Profile card component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Well I have to admit....I had to look over some previous solutions to figure out those background circles!! I knew I wanted to place them in ::before and ::after pseudo-elements, but because they were so large it was so challenging to get them placed properly. I'm hoping folks can review my code a bit and let me know if there's anywhere that I can make my code more DRY. Also, I used the Figma design which was very helpful but it doesn't seem to really "match up" well with regards to margins and paddings. Is that normal? How do you accommodate for that when moving the design to the actual code? Thanks!!

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Janelle Schuh's solution.

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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License