function?mTween(el,attr,target,duration,fx){ }
????????el:?需要?jiǎng)赢嫷脑?/p>
????????attr:?需要?jiǎng)赢嫷臉邮?/p>
????????target:?動(dòng)畫的目標(biāo)值
????????duration:?動(dòng)畫時(shí)長(zhǎng)(毫秒)
????????fx:動(dòng)畫形式
????????-----------------------------------------------------------
????????t?current?time(當(dāng)前時(shí)間)
????? ? b?beginning?value(初始值)
????????c?change?in?value(變化量)
????????d?duration(持續(xù)時(shí)間)
添加css方法: