Clement Idemudo• 90
@Clemcy9
Posted
giving css property of "opacity:0.5" to the parent container of the whole page will do. just remember to reverse this property on your side nav by doing "opacity:1" on nav container
1
how do i get the body of the page to get darker when i click the side bar? please feel free to advice on best pratices.
@Clemcy9
Posted
giving css property of "opacity:0.5" to the parent container of the whole page will do. just remember to reverse this property on your side nav by doing "opacity:1" on nav container
@DanK1368
Posted
Hello,
You can use another div as the parent element of your current navbar, and give it a position absolute. Give it a width and height of 100% to cover the whole viewport.
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