hooyantsing's Blog

P207_14_transition组合设置全部过渡规则

字数统计: 54阅读时长: 1 min
2020/04/24

P207 14 transition组合设置全部过渡规则

transition

简写,transition-property、transition-delay、transition-duration和transition-timing-function的组合。

c29fd2aa2e7e4e6fcb80754bf7a7c08e.png

1
2
//transition: property timing-funciton duration delay
transition: all linear 2s 1s;

如果为多个property属性设置,用逗号隔开。

5fe58c2e90138b659a38361656816748.png

CATALOG