I need help changing the background-color of the parent div behind the children ones. I want it to be darker like in this image. Here's my HTML:
<div class="main">
<div class="sub">
</div>
</div>
And here is my CSS:
div.main {
background-color:#AAAAAA;
}
div.sub {
border-style:solid;
border-width:1px;
border-color:#AAAAAA;
border-radius:2px;
margin:10px;
box-shadow: 0px 0px 5px #AAAAAA;
}
Unfortunately, the main div is not showing as color #AAAAAA. Any suggestions?
Thanks, Ben