您的位置:首頁技術文章
文章詳情頁

css3動畫 - css3 transition設置多個屬性的時候不能只用逗號分隔?

瀏覽:62日期:2023-07-11 14:42:23

問題描述

比如這個transition: width,height 1s ease;

問題解答

回答1:

transition: width,height 1s,1s ease,ease;我知道了...后面的值也要用逗號多寫一遍...

回答2:

多個屬性可以直接 transition: all 1s ease

回答3:

transition: width 1s ease, height 1s ease;回答4:

不要逗號,空格隔開就行!

標簽: CSS
相關文章:
国产综合久久一区二区三区