Design comparison
Solution retrospective
--->I did this project without much difficulty.
--->I'm open to any advice you can give me.
-->Is my code clean?
--->Do I have any shortcomings?
--->I'm looking forward to your feedback
Community feedback
- @danielmrz-devPosted 7 months ago
Hello @hilmi77!
Your solution looks great!
The background pattern with the circles is a bit tricky, but here's how I managed to do it, in case you wanna see different options:
š Add 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;
I hope it helps!
Other than that, you did an excelent job!
Marked as helpful0@hilmi77Posted 7 months ago@danielmrz-dev I will consider your advice but I want to ask for something: in background-position why you use "vw"
1@danielmrz-devPosted 7 months ago@hilmi77
vw stands for viewport width. That's an unit based on the user's screen size. That's the best option for this case because it keeps the background images responsive. They'll always be positioned based on the user's screen size, no matter how big or small.
1
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