Custom sidebar

0
I have created a class for the left region of scroll container that i’m using as a sidebar, but I am not managing to make it so that when I open the sidebar, the rest of the page is darker. I'm probably using the attributes wrong, but I've tried several ways and none of them work. How can I make the page darker when I open the sidebar?
asked
0 answers