Project tracking intro component master Solution (By HTML, CSS, JS)
Design comparison
Solution retrospective
Hello 👋 !!
I am unable to figure out how to give that bluish-gray color in background. So can someone please help me with that.
Community feedback
- @tedikoPosted over 3 years ago
Hello, Chinmay Agarwal! 👋
Good effort on this challenge! To add these blueish background you have to create another div element. In this div styles add
width
,height
,background-color
and necessarily set it toposition: absolute
then set it on the page withtop, right, left, bottom
properties. Second way is to add to your.content
pseudo-element::before
and make itposition: absolute
,content: ""
etc. and then set z-indexes for other elements to be on top of that background.Good luck with that, have fun coding! 💪
1@chinmayagarwal3007Posted over 3 years ago@tediko Thank You sir, First way worked for 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