英[?ta?m?? ] US [?ta?m??]
n.Timing; ??? ??, ???function
English [?f??k?n]?n. ??, ?? ; ??, ?? Party
vi.??? ???3?? ??: ?? ??: ?? ?? ??: ?? ?? ??: ??CSS ????? ??? ?? ?? ???
????? ??? ???? ??????
animation-timing-function? ?????? ?? ??, ? ?????? ???? ??? ???? ?????? ??? ?? ???? ??? ? ???? CSS? ????? ?????.
??: animation-timing-function? ?????? ?? ??? ?????. ?? ??? ?????? ? CSS ??? ???? ?? CSS ??? ??? ???? ? ??? ??? ?????. ?? ??? ??? ? ???? ??? ? ?????.
??: ??animation-timing-function: value;
??: animation-timing-function? Cubic Bezier ???? ?? ??? ???? ?? ??? ?????.
? ???? ??? ??? ?? ??? ?? ?? ?? ??? ?? ??? ?? ????.
linear ?????? ??? ???? ??? ?????.
???? ?????. ?????? ?? ??? ??? ??, ??? ????, ??? ?? ?????.
ease-in ?????? ?? ??? ?????.
ease-out ?????? ?? ??? ????.
ease-in-out ?????? ?? ??? ???? ????.
cubic-bezier(n,n,n,n)? ??-??? ???? ?? ????. ??? ?? 0?? 1??? ?????.?
??: Internet Explorer 9 ? ?? ??? animation-timing-function ??? ???? ????.
CSS ????? ??? ?? ?? ?
<!DOCTYPE html> <html> <head> <style> div { width:100px; height:100px; background:red; position:relative; animation:mymove 5s infinite; animation-timing-function:linear; /* Safari and Chrome */ -webkit-animation:mymove 5s infinite; -webkit-animation-timing-function:linear; } @keyframes mymove { from {left:0px;} to {left:200px;} } @-webkit-keyframes mymove /* Safari and Chrome */ { from {left:0px;} to {left:200px;} } </style> </head> <body> <p><strong>注釋:</strong>Internet Explorer 9 以及更早的版本不支持 animation-timing-function 屬性。</p> <div></div> </body> </html>
???? ?? ?
??? ????? ??? "???? ??" ??? ?????