I have a hider panel with opacity 0.5 (full-screen). I want use another panel on it. But i need to use the second one non-transparent. How should i design css classes?
<asp:Panel cssclass="hider" ID="HiderPanel" visible="false" runat="server">
<asp:Panel CssClass="FormPanel" ID="formpanel" runat="server">
</asp:Panel>
</asp:Panel>
And css:
.hider
{
display:block;
position:fixed;
top:0px;
left:0px;
width:100%;
height:100%;
z-index:1;
color:black;
background-color:black;
opacity:0.5;
filter:alpha(opacity=20);
}
.FormPanel
{
float:left;
margin-left:5%;
width:40%;
height:700px;
border: 2px solid #555;
z-index:2;
background-color: #fff;
color:white;
padding: 10px;
}