On Github panshadow / cgn-transition-evening
*Трензішн — англ. Перехід
steps(4,start)
step-start (1,start)
step-end(1,end)
cubic-bezier (0.5, 0.2, 0.4,0.8)
linear(0,0, 1, 1)
ease (0.25,0.1, 0.25, 1)
ease-in (0.42, 0, 1, 1)
ease-out (0, 0, 0.58, 1)
ease-in-out (0.42, 0, 0.58, 1)
.classs { transition-property: width; transition-timing-function: ease; transition-during: 1s; transition-delay: 1s; } /* or */ .classs { transition: width ease 1s 1s; }
.classs { transition: width ease 1s 1s, height linear 2s 1s; } /* or */ .classs { transition-property: width,height; transition-timing-function: ease,linear; transition-during: 1s,2s; transition-delay: 1s; }
var el=document.getElementById('El'); el.addEventListener( 'transitionend',function(evt){ alert( "Finished transition!" ); }, false );
.classs { -webkit-transition: -webkit-transform ease 2s; }even
var el=document.getElementById('El'); el.addEventListener( 'webkitTransitionEnd',function(evt){ alert( "Finished transition!" ); }, false );
by Oleg Neizhkasha