Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 1 year ago

Mobile first solution with SASS

sass/scss
Laura Origa•50
@laurellx
A solution to the Profile card component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

I did take too long to complete this challenge. I let time pass by while I was working on it and, when I finally took the project again, it made me delay the deployment much more than expected.

What challenges did you encounter, and how did you overcome them?

The biggest challenge has been with the svg images to arrange the background according to the provided design. It is the first time I had to deal with combining multiple images, and I am not entirely sure that the strategies I used are acceptable. Negative margins, for example:

body {
  background-color: hsl(185, 75%, 39%);
  background-image: url(/images/bg-pattern-top.svg),
    url(/images/bg-pattern-bottom.svg);
  background-size: 100%, 130%;
  background-repeat: no-repeat, repeat-x;
  background-position: top left, bottom;
  background-position-y: -21%, 130%;
}

I am not entirely satisfied with the result, but I did not investigate on this topic either... I am willing to do so in the future.

What specific areas of your project would you like help with?

Any tips or materials regarding svg images and background styling would be more than welcome!

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 Laura Origa'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