<time>
The <time>
CSS data type represents a time value expressed in seconds or milliseconds. It is used in animation
, transition
, and related properties.
The <time>
data type consists of a <number>
followed by one of the units listed below. Optionally, it may be preceded by a single +
or -
sign. As with all dimensions, there is no space between the unit literal and the number.
s
Represents a time in seconds. Examples: 0s
, 1.5s
, -60s
.
ms
Represents a time in milliseconds. Examples: 0ms
, 150.25ms
, -60000ms
.
LCD tables only load in the browser