Design comparison
SolutionDesign
Solution retrospective
Can anyone suggest a better way to add the background images?
Community feedback
- @Batareika007Posted over 3 years ago
Hi, good job on that challenge. try to put image on css body as
background-image: url('images/bg-pattern-top.svg');
and make itbackground-position: bottom right;
andtop left
try tutorial for: w3schools background-image w3schools background-position
hope this will help you
1@adityas24Posted over 3 years agoBut they are two background images, can you tell me how to do positioning when two background images are there.
0@Batareika007Posted over 3 years ago@aadigit Yeah, you can put two images, just be consistent, if it top at beginning, so at position it also top first.
try this:
background-image: url('images/bg-pattern-top.svg') url('images/bg-pattern-bottom.svg'); background-repeat: no-repeat; background-position: top left, bottom right;
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