Thursday, February 7, 2013

Tentang TRANSITION CSS

 

 

Feed: Arsip
Posted on: Friday, February 08, 2013 08:36
Author: refi ridho
Subject: Tentang TRANSITION CSS

 

Hay kakak" senior programer..
aku mau tanya nie tentang TRANSITION. . .

misalnya gni kk :
================================================== ==================
#spa
{
width: 200px;
height: 300px;
background-color: red;

}
#spa:hover
{
transition-timing-function: ease-in-out;
transition-property: width;
transition-duration: 2s;
width: 400px;
height: 500px;
}
================================================== ==================

lah waktu di running itu width-nya udah sesuai dengan duration,,
tapi pas heightnya kok gak bisa seperti width ya??
kok cepet bngt jalannya ga sesuai dengan duration . . .

mohon pencerahannya kk . .
makasih . . . .

catatan: itu saaya jalankan pake firefox


View article...