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

Social-Proof-section form

Gideonβ€’ 440

@GiDDeRo

Desktop design screenshot for the Social proof section coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Having trouble with its responsiveness Kindly give a feedback

Community feedback

Lucas πŸ‘Ύβ€’ 104,560

@correlucas

Posted

πŸ‘ΎHello @GiDDeRo, Congratulations on completing this challenge!

Two tips:

To place all content centered you missed only two properties: align-items: center; / justify-content: center;

body {
    display: flex;
    height: 100vh;
    font-family: "League Spartan";
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

ITS BETTER YOU ADD THE SVG BACKGROUND TO THE BODY INSTEAD OF USING IMG. To add the two wave svg background images in the (top/bottom),, the best way is by using background-image to manage it since adding them to the body you make sure it will be under everything, to manage different images inside a single css property as background-image you use the comma inside each properties declare the single modification for each wave svg image separated. See the code below to see your solution with those backgrounds applied:

body {
    background-image: url(bg-pattern-top-desktop.svg), url(bg-pattern-bottom-desktop.svg);
    background-position: left -185px top -236px, right 10px bottom -300px;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: contain, contain;
    display: flex;
    height: 100vh;
    font-family: "League Spartan";
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

✌️ I hope this helps you and happy coding!

Marked as helpful

1

Gideonβ€’ 440

@GiDDeRo

Posted

@correlucas Thanks. That was helpful. Sometimes <svg></svg> doesn't display. Any Ideas?

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