You can use s (seconds) and ms (milliseconds)
transition duration property
Syntax
Transition Duration: [,] * Property Values
One or more transition periods, separated by commas.
time
Floating-point number, followed by a time units designator (ms or s).
Reference to values ββand units.
source share