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

Huddle landing page with curved sections HTML CSS

@ElliotCase

Desktop design screenshot for the Huddle landing page with curved sections coding challenge

This is a solution for...

  • HTML
  • CSS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


I felt like this project really pushed me as a beginner I am not too happy with how it came out and I really struggled getting the waves to look right inbetween sections any feedback on that for a better way to implement them would be much appreciated. Thanks Guys :D

Community feedback

Mahesh Yadav 1,220

@Mahesh-yadav

Posted

Hi

Good attempt. To create curves, you can use background property. When you look at the design, you see that grow-together section has a light blue bg color, top and bottom curves.

// to create top curve, set background image on the section above `grow-together` section and place it at the bottom like following:
.intro-section {
    background: url(./images/bg-section-top-mobile-1.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left bottom;
} 

.section-grow-together{
      background-color: var(--very-pale-blue);
}

// to create bottom curve, set background image on the section below `grow-together` section and place it at the top like following
.section-flowing-conversation{
     background: url(./images/bg-section-bottom-mobile-1.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left top;
}

Similarly, you can create other curved sections

3

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