Design comparison
SolutionDesign
Solution retrospective
Struggling with background image positioning
Community feedback
- @brasspetalsPosted about 4 years ago
Hi, Arnas!
Your background images would be better set in the
body
element. You can position them with thebackground-position
property. For example:body { background-image: url("./images/bg-pattern-top-desktop.svg"), url("./images/bg-pattern-bottom-desktop.svg"); background-position:top left, bottom right; background-repeat: no-repeat, no-repeat; }
1
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