Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

My solution of the card component challenge

Mjornog 40

@Mjornog

Desktop design screenshot for the Profile card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


I'm open to anny tips and comments about, how i can get the code of this project better.

Community feedback

Bryan Li 3,550

@Zy8712

Posted

Hi there! Your site looks pretty good. The only thing I'd really change is how you implemented the circles as the background for your website. When you are placing decorative background images it is probably best for you to use the background-image css property.

An example of one way you could place the two circles is:

  background-color: var(--theme-dark-cyan);
  background-image: url("./images/bg-pattern-top.svg"), url("./images/bg-pattern-bottom.svg");
  background-repeat: no-repeat, no-repeat;

  /* top img is offset 52 percent of the vw from the right and offset 35 of the vh from the bottom*/
  /* bottom img is offset 48 percent of the vw from the left and offset 52 of the vh from the top*/
  background-position: right 52vw bottom 35vh, left 48vw top 52vh;

Hope this helps 👍

Marked as helpful

0

Please log in to post a comment

Log in with GitHub
Discord logo

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