Submitted about 3 years ago
Social Proof Section Master using HTML and CSS With Flex
@raheemalzeeshan
Design comparison
SolutionDesign
Solution retrospective
I have created Social Proof using HTML and CSS. In CSS I have use flex for layout.
Community feedback
- @dewslysePosted about 3 years ago
Hello Mohammed! Congrats on your submission! Well done. Some things to consider:
- You could center the content to the page by adding the following to your css
body { display: flex; justify-content: center; align-items: center; flex-direction: column; min-height: 100vh; }
-
You could add a
max-width
(e.g: 1440px) to yourmain
to prevent content from spanning the full with of the page. The page looks better that way. -
In case you decide to take the above into consideration, you can tuck the background images nicely in the opposite corners by applying the following to the
body
in css
background: url("./images/bg-pattern-top-desktop.svg") no-repeat left top, url("./images/bg-pattern-bottom-desktop.svg") no-repeat right bottom;
- By the way, you don't need the
background-color: var(--white)
in themain
. Consider removing it.
Happy coding
Marked as helpful0@raheemalzeeshanPosted about 3 years ago@dewslyse Thank you for your valuable comment 👍
0
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