Ciao a tutti, stavo provando ad usare per la prima volta la proprietà transition seguendo una miniguida, ma non funge :-s
Il codice copiato pari pari è il seguente:
Passando il mouse sui 2 box dovrebbero espandersi... invece non succede nulla...codice:<style type="text/css"> .box1, .box2 { width: 50px; height:50px; -moz-transition: width 2s; transition: width 2s; } .box1:hover {whidt:400px;} .box2:hover {whidt:400px;} .box1 {background-color:#F00;} .box2 {background-color:#F69;} </style> </head> <body> <div class="box1"> <h2>BOX 1</h2> </div> <div class="box2"> <h2>BOX 2</h2> </div> </body> </html>

Rispondi quotando
