Tema: opacidad css
Ver Mensaje Individual
  #2 (permalink)  
Antiguo 16/08/2011, 13:14
Avatar de IsaBelM
IsaBelM
Colaborador
 
Fecha de Ingreso: junio-2008
Mensajes: 5.032
Antigüedad: 15 años, 10 meses
Puntos: 1012
Respuesta: opacidad css

has de usar dos bloques. algo como esto
Cita:
#opac {
background-color: #111;
filter: alpha(opacity=50);
opacity: .50;
width:200px;
height: 200px;
}

#opacCont {
position: absolute;
top: 50px;
background-color: #fff;
width:100px;
height: 100px;
color: red;
z-index: 100;
}


<div id="opacCont">el contenido</div>
<div id="opac"></div>