Design comparison
SolutionDesign
Community feedback
- @MaximilianoDanielGarciaPosted 12 months ago
Hi Venu, great job!
If you want to improve your background just add these properties:
.container { background-repeat: no-repeat; background-size: contain; background-position: center -25%; }
-
The
background-position
property sets the starting position of a background image. -
The
background-repeat
property sets if/how a background image will be repeated. -
The
background-size: contain;
resize the background image to make sure the image is fully visible.
I hope these are helpful to you.
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