在所有支持转换的浏览器中,转换属性以逗号分隔:
.nav a { transition: color .2s, text-shadow .2s;}ease是默认的计时功能,因此您不必指定它。如果确实需要
linear,则需要指定它:
transition: color .2s linear, text-shadow .2s linear;
这开始变得重复,因此,如果要在多个属性中使用相同的时间和计时功能,则最好继续使用各种
transition-*属性,而不是简写形式:
transition-property: color, text-shadow;transition-duration: .2s;transition-timing-function: linear;



