Design comparison
Solution retrospective
I will appreciate any feedback
Community feedback
- @Deepanshu-5288Posted about 2 years ago
Hello @henry-dura, It's really looking great.
You can use background-position to adjust the position of the background image like background-position: 0 -150%, 100% 150%; these values should be in the same order that u have given in the background-image means before comma values will be applied to the top background since you added the URL first for this and after the comma will be applied to the bottom image.
parameters are like x y, x y The top left corner of the screen identifies as 0 0 and the bottom right corner as 100% 100% So you can adjust these to get the requirements.
For more clarifications check out the below link: https://www.w3schools.com/cssref/pr_background-position.asp
I hope it helps you, Thanks
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