Submitted over 4 years ago
Huddle landing page with curved sections HTML CSS
@ElliotCase
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-yadavPosted over 4 years ago
Hi
Good attempt. To create curves, you can use
background
property. When you look at the design, you see thatgrow-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 GitHubJoin 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