miércoles, 27 de noviembre de 2013

Cómo poner un DIV transparente en tapa de un DIV

La propiedad CSS "absoluto" le permite programación asignar una ubicación para los contenedores div. Usted puede acodar sus div contenedores y colocar una encima de la otra. Un transparente div encima de otro div muestra sólo la div en la parte inferior, ya que el div superior no tiene color sólido. El uso de un transparente div permite ocultar y mostrar de forma dinámica el contenido dentro de su div inferior.

 

TRANSPARENTE

 

Haga clic en el archivo HTML que desea editar. Haga clic en "Abrir con", luego haga clic en el programa de edición de HTML en la lista de accesos directos.

 

Cree el div inferior. El código siguiente muestra cómo hacer un div que se encuentra en la esquina superior izquierda del navegador del usuario:

 

div id = estilo "bottomdiv" = "position: absolute; izquierda: 20px; top: 20px" div Mi contenido inferior /

 

Cree el div transparente y colóquelo en la misma ubicación que el "bottomdiv" creado en el Paso 2:

 

div id = estilo "topdiv" = "position: absolute; izquierda: 20px; top: 20px; filtro: alpha (opacidad = 0)" div Mi inicio del contenido de /

 

El estilo de "opacidad" en "0" crea un div transparente.

 

 

4 comentarios:

  1. If you use these icons well, then you are going to earn some great rewards every time you accomplish a given mission. It really is apparent from the
    graph that the influence of clash of clans hack is
    usually strong. But cutting edge developers will have to tread lightly.

    ResponderEliminar
  2. An outstanding share! I have just forwarded this onto a friend who has been doing a little homework on this.
    And he in fact bought me breakfast due to the fact that I found
    it for him... lol. So allow me to reword this.... Thank YOU for the meal!!
    But yeah, thanks for spending the time to talk about this topic here on your site.


    Visit my blog ... http://www.acorntown.com/space.php?uid=889883&do=blog&id=856169

    ResponderEliminar
  3. An impressive share! I've just forwarded this onto a co-worker who was conducting a little homework on this.
    And he actually bought me breakfast because I found it for him...
    lol. So allow me to reword this.... Thanks for the meal!!
    But yeah, thanks for spending some time to talk about this matter here on your website.


    Also visit my web blog: nitrix

    ResponderEliminar