Design comparison
Solution retrospective
Hi guys. I did this first exercise and I had some issues with the blue background. I edited it with Illustrator because I couldn't find a way to use it properly. Can you suggest me how to use the CSS background correctly for this project? cheers
Community feedback
- @afrusselPosted over 3 years ago
For background use this below code
body{ background-color: var(--pale-blue); background-image: url("images/pattern-background-desktop.svg"); background-repeat: no-repeat; background-size: 100% 50%; display: -ms-grid; display: grid; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -ms-flex-line-pack: center; align-content: center; }
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