Ver Mensaje Individual
  #5 (permalink)  
Antiguo 19/10/2011, 11:15
Avatar de Panino5001
Panino5001
Me alejo de Omelas
 
Fecha de Ingreso: mayo-2004
Ubicación: -34.637167,-58.462984
Mensajes: 5.148
Antigüedad: 19 años, 10 meses
Puntos: 834
Respuesta: Pequeña prueba CSS3 - Cartelera de perros perdidos

Algo muy rápido porque ando corriendo:
Código PHP:
<!doctype html>
<
html>
  <
head>
  <
meta charset="utf-8" />
  <
title>Cartelera de perros</title>
  <
style type="text/css">
  
#cartelera {
    
backgroundurl(http://www.canvascrew.co.uk/montage/slides/CorkBoard.jpg);
    
-webkit-box-shadow:  4px 4px 10px rgba(0,0,0,0.4);
    -
moz-box-shadow4px 4px 10px rgba(0,0,0,0.4) ;
    
box-shadowpx 4px 10px rgba(0,0,0,0.4);
    
border4px solid rgba(51,0,0,0.7);
border-radius1%;
    
height600px;
    
margin0 auto;
    
width800px;
  }
  
#cartelera article {
    
displayinline-block;
    
backgroundwhite;
    
box-shadow2px 2px 2px 5px rgba(0,0,0,0.3);
    
margin10px;
    
text-aligncenter;
    
width200px;
    -
moz-transition: -moz-transform .5s ease-in;
    -
webkit-transition: -webkit-transform .5s ease-in;
    
transitiontransform .5s ease-in;
    
z-index1;
  }
  
/*#cartelera article:hover {
    box-shadow: 2px 2px 2px 5px rgba(0,0,0,0.3),
                0 0 10px 15px rgba(0,0,0,0.2);
    -webkit-transition: box-shadow 1s linear;
    -moz-transition: box-shadow 1s linear;
    transition: box-shadow 1s linear;
  }*/
  #cartelera article:nth-of-type(2n) {
    
-webkit-transformrotate(3deg);
    -
moz-transformrotate(3deg);
    
transformrotate(3deg);
  }
  
#cartelera article:nth-of-type(2n+3) {
    
-webkit-transformrotate(-5deg);
    -
moz-transformrotate(-5deg);
    
transformrotate(-5deg);
  }
  
#cartelera article:nth-of-type(3n-1) {
    
-webkit-transformrotate(-1deg);
    -
moz-transformrotate(-1deg);
    
transformrotate(-1deg);
  }
  
#cartelera article:hover {
    
-moz-transformrotate(0degscale(1.4);
    -
webkit-transformrotate(0degscale(1.4);
    
transformrotate(0degscale(1.4);

    -
moz-transition: -moz-transform .5s ease-in;
    -
webkit-transition: -webkit-transform .5s ease-in;
    
transitiontransform .5s ease-in;
    
z-index20;
  }
  </
style>
<!--[if 
lt IE 7]>
<
script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE7.js"></script>
<![endif]-->
<!--[if lt IE 8]>
<script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE8.js"></script>
<![endif]-->
<!--[if lt IE 9]>
<script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
<![endif]-->
  </head>
  <body>
  <section id="cartelera">
    <article>
      <header>
        <h2>Perro 1</h2>
      </header>
      <img width="100" height="100"
           src="http://www.somosperros.com/razas-de-perros/beagle.jpg" alt="" />
      <p>Se me perdió el perro 1</p>
    </article>
    <article>
      <header>
        <h2>Perro 1</h2>
      </header>
      <img width="100" height="100"
           src="http://www.defondos.com/bulkupload/perros-fotos/Animales/Perros/Perro%20Labrador_800.jpg" alt="" />
      <p>Se me perdió el perro 1</p>
    </article>
    <article>
      <header>
        <h2>Perro 1</h2>
      </header>
      <img width="100" height="100"
           src="http://www.elblogdeperros.com/wp-content/uploads/2009/07/perro-anciano.jpg" alt="" />
      <p>Se me perdió el perro 1</p>
    </article>
    <article>
      <header>
        <h2>Perro 1</h2>
      </header>
      <img width="100" height="100"
           src="http://www.somosperros.com/razas-de-perros/beagle.jpg" alt="" />
      <p>Se me perdió el perro 1</p>
    </article>
    <article>
      <header>
        <h2>Perro 1</h2>
      </header>
      <img width="100" height="100"
           src="http://www.elblogdeperros.com/wp-content/uploads/2009/07/perro-anciano.jpg" alt="" />
      <p>Se me perdió el perro 1</p>
    </article>
    <article>
      <header>
        <h2>Perro 1</h2>
      </header>
      <img width="100" height="100"
           src="http://www.defondos.com/bulkupload/perros-fotos/Animales/Perros/Perro%20Labrador_800.jpg" alt="" />
      <p>Se me perdió el perro 1</p>
    </article>

  </section>
  
  </body>
</html> 
No queda muy lindo, pero degrada mejor