Ese es el camino,
Fsg, siga leyendo un poco más y experimentando, que así es como más se divierte uno y de paso se aprende.
Mire en chrome, ya que sólo apliqué el prefijo -webkit-
Es sólo un ejercicio lúdico, sin prestar atención a detalles:
Código HTML:
Ver original<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="es-es"> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> * { margin:0; padding:0; position: relative;}
html, body {
width: 100%;
height:100%;
font-size: 1em;
background: #444;
}
.contenedor {
width: 500px;
margin: 0 auto;
background: #fe0;
z-index: 5;
-webkit-box-shadow: 0 0 10px #444;
}
p {
font-size: 1em;
position: relative;
color: red;;
}
h1 {
background: #fff;
font-size: 5em;
color: #green;
text-align: center;
text-shadow: 1px 1px 0 #000, -1px -1px 0 #222;
z-index: 2;
-webkit-transform: rotate(-10deg);
-webkit-transition-duration: 3s;
}
h1:hover {
color: blue;
text-shadow: 0 0 10px #000;
background: red;
margin-top: 1em;
font-size: 10em;
z-index: 10;
-webkit-transform: rotate(360deg);
-webkit-transition-duration: 10s;
}
<p>Lorem ipsum dolor sit amet consectetuer tellus Vestibulum ut malesuada eros. Felis mus faucibus velit Maecenas id Phasellus sem Sed Aenean Curabitur. Maecenas tellus dui ac purus ut in sed quis Nulla Donec.
</p>