Слой ниже с прозрачностью
by Denis
HTML
<div class='osnova'><a href='#'>TEXT</a></div>
<div class="bottom_layer"></div>
CSS
.osnova, .bottom_layer {
position: relative; /* или absolute в зависимости от разметки */
width: 200px;
height: 100px;
left: 100px;
top: 100px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}
.osnova {
z-index: 10;
line-height: 100px;
font-size: 3em;
text-align: center;
text-shadow: 0px 0px 1px #EAEAEA, 1px 1px 7px #000000;
}
.bottom_layer {
z-index: 5;
background: #000;
opacity: 0.5;
filter: alpha(opacity=50);
margin-top: -100px;
}
.osnova a {
color: #000;
text-decoration: none;
}