css3特定属性的转换延迟
目前,我正在通过在鼠标悬停时更改文本框的背景色和字体颜色来设置文本框的样式:css3特定属性的转换延迟,css,css-transitions,Css,Css Transitions,目前,我正在通过在鼠标悬停时更改文本框的背景色和字体颜色来设置文本框的样式: transition: background-color 1s, color 1s; 我现在想通过使用过渡延迟更改背景色之后的颜色。问题是,转换延迟没有采用我想要延迟的属性(即颜色)。是否有任何方法仅延迟特定属性?转换延迟是特定于属性的 比如说 transition: background-color 1s linear 2s, color 1s; transition: property name | durati
transition: background-color 1s, color 1s;
我现在想通过使用过渡延迟更改背景色之后的颜色。问题是,转换延迟没有采用我想要延迟的属性(即颜色)。是否有任何方法仅延迟特定属性?转换延迟是特定于属性的 比如说
transition: background-color 1s linear 2s, color 1s;
transition: property name | duration | timing function | delay
使用速记时,似乎还需要指定计时功能
()仅用于完成,默认计时功能是ease(参考:)。不,至少在现代浏览器中,似乎没有必要指出这一点。