transfrom、transition、animation區別

文章來自:源碼在線 https://www.shengli.me/h5/479.html   transition和animation做動畫 常和transfrom配合使用,區別如下:     transition animation 觸發條件 通常和hover等事件配合,由事件觸發 和gif差不多,立即播放 循環 不能循環 可設置循環次數 精確性 只能設置頭尾,所有樣式屬性都要一起變化 可以設置
相關文章
相關標籤/搜索