Design comparison
SolutionDesign
Solution retrospective
What specific areas of your project would you like help with?
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.
Community feedback
- @yas-avocadPosted 7 months ago
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 helpful0
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