back to top
.01

CSS Easing Cheat Sheet
(transition-timing-function)

The transition-timing-function property defines how the speed of a transition changes over its duration (time/progress).

A

ease out  [↑ up]  |  ease in  [↓ down]  500ms

Tadafy-Easing__Linear
linear

linear

Tadafy-Easing__Linear
Tadafy-Easing__Ease-In
ease in

ease out
Tadafy-Easing__Ease-Out
Tadafy-Easing__In-Sine
in-sine


out-sine
Tadafy-Easing__Out-Sine
Tadafy-Easing__In-Quad
in-quad

out-quad
Tadafy-Easing__Out-Quad
Tadafy-Easing__In-Cubic
in-cubic

out-cubic
Tadafy-Easing__Out-Cubic
Tadafy-Easing__Int-Quart
in-quart

out-quart
Tadafy-Easing__Out-Quart
Tadafy-Easing__In-Quint
in-quint

out-quint
Tadafy-Easing__Out-Quint
Tadafy-Easing__In-Expo
in-expo

out-expo
Tadafy-Easing__Out-Expo
Tadafy-Easing__In-Circ
in-circ

out-circ
Tadafy-Easing__Out-Circ
Tadafy-Easing__In-Bounce
out-bounce

out-bounce
Tadafy-Easing__Out-Bounce
Tadafy-Easing__In-Back
in-back

out-back
Tadafy-Easing__Out-Back
Tadafy-Easing__In-Elastic
in-elastic

out-elastic
Tadafy-Easing__Out-Elastic
b

ease in out  [↑↓ up&down]  500ms


linear
Tadafy-Easing__Linear

ease
Tadafy-Easing__Ease

ease In Out
Tadafy-Easing__Ease-In-Out
in-out-
sine
Tadafy-Easing__In-Out-Sine
in-out-
quad
Tadafy-Easing__In-Out-Quad
in-out-
cubic
Tadafy-Easing__In-Out-Cubic
in-out-
circ
Tadafy-Easing__In-Out-Circ
in-out-
quart
Tadafy-Easing__In-Out-Quart
in-out-
quint
Tadafy-Easing__In-Out-Quint
in-out-
expo
Tadafy-Easing__In-Out-Expo
in-out-
back
Tadafy-Easing__In-Out-Back
in-out-
elastic
Tadafy-Easing__In-Out-Elastic
c

bounce & swing  [↑↓ up&down]  500ms

linear ↑↓
ease ↑↓
bounce ↑↓
bounce past ↑↓
swing from ↑↓
swing to ↑↓
swing from to ↑↓
swing from ↑
swing to ↓
swing to ↑
swing from ↓
.02

Transition delays

The transition-delay property specifies when the transition effect will start. Don’t animate everything at the same time — use choreography instead. Elements should appear from the right direction and at the right time. Even though they are separate, they should feel like parts of one well-designed unit.

.03

Transition duration

The transition-duration property defines how many seconds (s) or milliseconds (ms) a transition should take to complete.

[0ms]
[50ms]
[100ms]
[200ms]
[300ms]
[500ms]
[800ms]
[1s]
[3s]
[10s]
.04

CSS Transforms

The transform property applies a 2D or 3D transformation to an element. It allows you to translate (move), scale, rotate, skew, and more.

move
scale
rotate
skew
a

TRANSFORM-ORIGIN

The transform-origin property changes the reference point (origin) of transformed elements.

center (Default)
[50% 50% 0]
top-right
[100% 0]
center-bottom
[50% 100%]
custom
[-50% 0]
.05

CSS Transitions

Transitions allow you to change property values smoothly (from one value to another) over a given duration. They require a trigger to run (unlike CSS animations) and are limited to an initial and a final state. Transitions are ideal for simpler animations — they can’t add or remove CSS properties and can’t loop. They play forward when triggered and reverse when the trigger is removed.

a

Transitional (State Change)

Indicates that an element has changed state due to user interaction.

opacity
T
background color
T
background position
T
SCALE (transform)
T
SCALE-x (transform)
T
rotate (TRANSFORM)
T
move (TRANSFORM)
T
skew (TRANSFORM)
T
border radius
T
border color
T
border width
T
font color
T
font size
T
letter spacing
TTT
line height
T
T
text indent
T
text shadow
T
T
box shadow
width
T
height
T
T
width+height
padding
T
filter [blur]
T
filter [grayscale]
T
z-index
T
.06

CSS Animation

a

reveal (Entrances & Exits)

The appearance or disappearance of an element on the screen.

R
fade (out/in)
[opacity]
R
fall/rise
[scale 0.8; opacity]
R
grow
[scale]
R
slide & fade
[move 50%, opacity]
R
Slide (up/down)
[move(translate)]
R
Slide 2 (~fly)
[ease-in-back]
MASKed slide (up/down)
[move]
R
slide-fwd
[scale]
R
slide-rotate
[rotation Z 360°]
R
swirl
[rotate; scale]
R
roll (in/out)
[rotate; move]
R
light speed
[skew; move]
R
Collapse/expand
[height]
R
flip in&out
[scale X]
R
flip
[rotate Y]
E
R
flip a/b
[rotate Y]
E
R
flip a/b (Right)
[rotate Y; trans-orig--R]
.07

3D perspective

Enabling 3D perspective on an element makes it possible to move, rotate, and scale objects in 3D space. You can apply perspective to a parent element (affecting all its children) or directly to an individual element.

a

children perspective

b

self perspective

c

Children Perspective Variations

40
60
80
120
300
500
1000
3000
.08

3D Transforms

X
Y
Z

3d move

X
Y
Z

3d rotate

XY
X
Y

3d scale

X
Y
XY

3d skew

.09

12 Principles of Animation

Disney’s Twelve Basic Principles of Animation were introduced by animators Ollie Johnston and Frank Thomas in their 1981 book The Illusion of Life: Disney Animation. The purpose of these principles was to create the illusion of characters adhering to the fundamental laws of physics.

Squash and Stretch

Squash and Stretch

Gives the illusion of weight and volume to a subject.

ANTICIPATION

ANTICIPATION

Prepares the audience for action, and increases realism of action.

staging

staging

The presentation of any idea so that it is completely and unmistakably clear.

STRAIGHT AHEAD & POSE TO POSE

STRAIGHT AHEAD & POSE TO POSE

In straight ahead you animate the scene from start to end and in pose to pose, you block the key actions and movements and then fill in the intervals

Follow Through

Follow Through

Refers to part of the subject that continue to move after a completed action. It is the result of inertia.

Slow In & Slow Out

Slow In & Slow Out

The subject needs time to slow down - and speed up.

arcs

arcs

Humans and animals always move in arcs. Arcs increase the realism of the subject's action.

Secondary Action

Secondary Action

Emphasises and supports the primary action of the subject, whilst providing scenes with greater life.

TIMING

TIMING

More frames create slower action, whilst fewer frames create faster action.

Exaggeration

Exaggeration

Presents the physical features or elements of a character in an exaggerated form..

Solid drawing

Solid drawing

Adds weight, volume and 3D illusion to the subject.

appeal

appeal

Like charisma in an actor, it’s the attention to detail and movement combined that creates an appealing result. It makes your scene interesting to the viewers.