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

Frontend project to show my socials

@LuizFlavioPinto

Desktop design screenshot for the Social links profile coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

Marcos Travagliniā€¢ 4,860

@Blackpachamame

Posted

Greetings! you have done a great job šŸ˜Ž

šŸ“Œ Some suggestions

  • I recommend doing a small reset to the styles that come by default in the browsers. To do this, you can apply a couple of properties to the universal selector *, with this you will make your site look the same in all browsers
  • I leave you the task of researching the reset CSS and the box-sizing: border-box
  • Instead of using position to center your content in the center of the screen, you can use the flexbox properties in the body:
body {
    background-color: black;
    min-height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

main {
    background-color: #222222;
    /* position: absolute; delete */
    /* top: 50%;  delete */
    /* left: 50%;  delete */
    /* transform: translate(-50%, -50%);  delete */
    width: 250px;
    height: 420px;
    text-align: center;
    border-radius: 10px;
}

Marked as helpful

0

@LuizFlavioPinto

Posted

@Blackpachamame Great help my friend!!! going to study those points. Appreciate you

1

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