animation-direction: alternate animation-timing-function: ease-in-out . Weve also added ease-in and ease-out at different steps in our bounce animation.We can write the animation above in three much simpler lines: .butterfly - webkit-animation: flitter 500ms ease-in-out 5s 40 alternate Until they adopt the standard version, youll want to include both unprefixed and Webkit versions in your code.The animation-timing-function: defines the speed curve or pace of the animation. You can specify the timing with the following predefined timing options: ease, linear, ease-in, ease-out The steps() function controls exactly how many keyframes will render in the animation timeframe.1. Put your animate attributes on the element(s) you want to animate, ie: .box - webkit-transition: all 0.2s ease-in-out -webkit -animation-timing-function: ease-in-out !important.cvoxindicatorregion opacity: 0 !important -webkit-transition: opacity 1s !important.cvox indicatorvisibleThe prompt I chose was Prompt 2, Everyday Use In Love and Trouble: Stories of a Black. LitWeek3.Assignment. 3 pages. animation-direction: alternate animation-timing-function: ease-in-out Live demo. Weve also added ease-in and ease-out at different steps in our bounceWe can write the animation above in three much simpler lines: .butterfly - webkit-animation: flitter 500ms ease-in-out 5s 40 alternate keyframes yAxis 50 animation-timing-function: ease-out transform: translateY(-100px) Put together, with vender-prefixes for WebKit, and with some custom bezier curves instead of ease-in and ease-out, we can produce the example showcased at the very beginning of the post The transition-timing-function was set to ease-in-out which gives it a slower start and end.Examples are none, forwards, backwards, or both. .fadeInDown -webkit- animation-name: fadeInDown animation-name: fadeInDown -webkit-animation-duration: 4s animation-duration: 4s ease-in-out. .
. Animations. All of the above are included in this slide. Opacity is from CSS2. Our Backgroundsnowflake transform-origin: left -20px animation-name: falling animation-duration: 3s animation-timing-function: ease-in-out -webkit-animation-iteration-count: infinite bottom: -26px -webkit-animation-timing-function: ease-out If webkit supported animations along a path you wouldnt need these keyframes and you would have no trouble applying the easing to only two keyframes. animation-timing-function: value It has five values: linear, ease, ease- in, ease-out, ease-in-out.