animation
animation-fill-mode
animation-fill-modenone:不保留样式forwards:保留动画最后一帧样式。最后一帧依赖于animation-direction和animation-iteration-countbackwards:一旦将动画应用于目标,立即应用第一帧,并在animation-delay期间保留该值。第一帧依赖于animation-directionboth:同时应用forwards与backwards
animation-timing-function
animation-timing-functioncubic-bezier()
cubic-bezier()cubic-bezier(x1, y1, x2, y2)
linear
linear
cubic-bezier(0.0, 0.0, 1.0, 1.0)
ease
ease
cubic-bezier(0.25, 0.1, 0.25, 1.0)
ease-in
ease-in
cubic-bezier(0.42, 0.0, 1.0, 1.0)
ease-in-out
ease-in-out
cubic-bezier(0.42, 0.0, 0.58, 1.0)
ease-out
ease-out
cubic-bezier(0.0, 0.0, 0.58, 1.0)
Last updated
Was this helpful?