Tr
|
CSS3 Transitions(Fg. 1) With CSS3, we can add an effect when changing from one style to another, without using Flash animations or JavaScripts. Internet Explorer 10, Firefox, Chrome, and Opera supports the transition property.
|
Fg. 1 (CSS3 Transitions)
div
|
|
Fg. 2.1 (How does it work?)
div
Fg. 2.1 (How does it work?)
div:hover
|
How does it work?(Fg.s 2) CSS3 transitions are effects that let an element gradually change from one style to another.
(See Fg. 2.1) If the duration is not specified, the transition will have no effect, because default value is 0.
(See Fg. 2.2) When the cursor mouse out of the element, it gradually changes back to its original style. |