MDN The linear()CSSfunction creates a transition curve that progresses uniformly between points. As an easing-function, it creates transitions where the interpolation occurs at a constant rate from beginning to end.
Syntax
linear( [ <number> && <percentage>{0,2} ]# )
Formal grammar from the specification, as webref extracts it: the latest level's definition, sometimes ahead of what browsers implement.
Browser support
First browser version supporting linear()
Chrome
113
Edge
113
Firefox
112
Safari
17.2
Chrome Android
113
Safari iOS
17.2
First version with support, from MDN browser-compat-data.
FunctionBaseline: widely availablesince March 2023
MDN The steps()CSSfunction defines a transition that divides the input time into a specified number of intervals that are equal in length. This subclass of step functions are sometimes also called staircase functions.
Syntax
steps( <integer>, <step-position>?)
Formal grammar from the specification, as webref extracts it: the latest level's definition, sometimes ahead of what browsers implement.
Browser support
First browser version supporting steps()
Chrome
8
Edge
12
Firefox
4
Safari
5.1
Chrome Android
18
Safari iOS
5
First version with support, from MDN browser-compat-data.