time

The time CSS data type sets the time in seconds or milliseconds. The value consists of an integer or fractional number, immediately followed by an s for seconds or an ms for milliseconds. A space after the number is not allowed. To convert units, remember that 1s = 1000ms.

Syntax



property: time;