Total unique animation timing functions
values.animations.timingFunctions.totalUnique
The total number of unique animation-timing-function
s and transition-timing-function
s, including the ones that are part of the animation
and transition
shorthand.
Example
selector {
/* Regular animation- & transition-timing-function properties */
animation-timing-function: linear;
animation-timing-function: ease-in-out;
transition-timing-function: cubic-bezier(0, 0, 1, 1);
/* `animation` shorthand property */
animation: 2s my-animation linear;
}
The resulting metric looks like this:
{
"values.animations.timingFunctions.totalUnique": 3
}
Note that linear
and cubic-bezier(0, 0, 1, 1)
are strictly the same, but their notation is different.