Social proof section challange with Flexbox and SASS

Solution retrospective
I am generally happy of what I came with in this challange. However I did not know how to add the bottom background. I will appreciate any tips and advices for future.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @yas-avocad
Hey!
For the background, you have:
.intro { background: no-repeat url("../img/bg-pattern-top-desktop.svg"); }
Instead of
background
, you can usebackground-image
. With this element, you can input the 2 urls:background-image: url(top....), url(bottom...)
Then, add
background-repeat
andbackground-position
. Forbackground-position
, you can target the top and the bottom image in the same tag:background-position: 0px 0px, right bottom
:)
Marked as helpful
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