Design comparison
Solution retrospective
Feedback will really be appreciated. I really struggle with the CSS managing on this one.
Community feedback
- @danielmrz-devPosted 11 months ago
Hello Nira!
Your solution looks great!
I noticed that you created separate containers to create the background pattern. That works and it's very creative!
But if you want to see another approach with fewer code lines, here it is:
- Apply this to the body:
background-color: var(--Dark-cyan); background-image: url("./images/bg-pattern-top.svg"), url("./images/bg-pattern-bottom.svg"); background-repeat: no-repeat, no-repeat; background-position: right 52vw bottom 35vh, left 48vw top 52vh;
While doing this project, I learned that it's possible to use more than one image at the same time as backgroung and also manipulate their position individually.
I hope it helps!
Other than that, you did an excelent job!
Marked as helpful1@dhafindzahinPosted 11 months ago@danielmrz-dev
Wow that's really cool!
Seem to be resposive to because it's using the viewport unit. I definitely need to learn this, thanks you so much!
1 - @BlackpachamamePosted 11 months ago
Hey, it looks great to me! I think you did it correctly. In my browser window it looks fine, when I use the browser element inspector it may move a little when I resize the screen width. I think this is because of the way you placed the background images.
In any case, it is still a correct solution, I leave you my solution in case you want to see how I solved it.
Marked as helpful0 - @dhafindzahinPosted 11 months ago
TBH I should have spent more time on the stat section, looking at that few pixel different really bother meπ.
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