Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 3 years ago

Responsive page, flexbox, positioning

GeorgeBryzh•80
@GeorgeBryzh
A solution to the Profile card component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


  • While i build project i struggled with inline svg circles positioning. I got feedback from Slack that I should make them background. I'm used background-size to change size of circles, and made responsible circles positions. I did know how to center a card component on the center of page keeping body size as browser view size. But I used .body{ height: 100vh; display: flex; align-items: center; justify-content: space-around;} (1 vh = 1% of view field height). There is very important to use justify-content: space-around instead center value, otherwise container will be about center but not in.

  • I would to know how make img hided under border without additional changes on img's border

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 GeorgeBryzh'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