KandZ – Tuts

We like to help…!

CSS 57 ๐Ÿ’ป animation properties part 2

a - animation-fill-mode and animation-play-state
animation-fill-mode is used to define the styles applied to an element before and after the animation plays.
values: none โ†’ No styles are applied before or after the animation.
forwards โ†’ computed values are kept by the element after the animation ends.
backwards โ†’ computed values are applied to the element as soon as the animation starts, and before the animation actually begins playing.
both โ†’ Combines both forwards and backwards
animation-fill-mode: forwards; โ†’ the box will remain at its final position (translated 200px right) and in its final color (red) after the animation ends.
animation-play-state allows you to control whether an animation is running or paused
values: running โ†’ The animation is currently playing.
paused โ†’ The animation has been paused, and it will not continue until it is resumed.
animation-play-state: paused; โ†’ stops the animation

b - animation-timeline and animation-composition
animation-timeline allows you to specify a timeline that controls the timing of animations instead of using the default document timeline
values: none โ†’ no association with a timeline
scroll() โ†’ Binds the animation to the scroll timeline.
view() โ†’ Creates an animation timeline that is based on the visibility of an element within the viewport.
animation-timeline: scroll() โ†’ ensures that the animation progresses in sync with the scrolling position.
animation-composition controls how multiple animations that target the same properties on a single element combine their effects.
values: replace โ†’ (default) New animations will overwrite previous ones.
add โ†’ New animations will add to the effect of existing animations.
accumulate โ†’ Similar to add, but with additional rules for handling keyframes and timing functions.
animation-composition: add; โ†’ adds to the effects of other animations without replacing them.

Stop using slow, ad-bloated tool sites! ๐Ÿคฎ

๐Ÿ”Ž Search “KandZ Tools” on Google to use many professional utilities for free.

KandZ.me is the ultimate minimalist hub for:
โœ… Finance (Mortgage, Interest, Inflation)
โœ… Tech (Base64, JSON, Dev Suite, IP)
โœ… Health (BMI, BMR, TDEE)
โœ… Productivity (Timer, Workspace, QR)

โšก๏ธ Fast & Private
๐Ÿ”’ No data leaves your device
๐Ÿ’Ž 100% Free

๐Ÿ”— Use it now: https://tools.kandz.me
๐Ÿ”– Bookmark itโ€”youโ€™ll need it later!

Leave a Reply