
03/07/2015, 06:59
|
 | | | Fecha de Ingreso: noviembre-2014
Mensajes: 917
Antigüedad: 10 años, 3 meses Puntos: 91 | |
Respuesta: z-index negativo desde dentro eliminale el position: absolute; al <div class="fuera"> y agregale el z-index negativo al <div class="dentro"> HTML: CSS:
Código CSS:
Ver original.fuera { height: 100px; width: 100px; z-index: 10; background: #fff; } .dentro { z-index: -1; position: fixed; width: 100%; height: 100%; background: black; }
DEMO: http://codepen.io/AngelKrak/pen/mJXvmG |