data-type
<time> — CSS reference
The time data type represents temporal quantities with s and ms. Zero requires a unit. Negative transition durations are invalid; negative delays are valid and advance the starting point of a transition. Consult each property for its allowed range.
Formal Syntax & Structure
css syntaxcss
transition-duration: 250ms;Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>Numeric dimension lab</title><style>body {margin:0} .sample {height:12px;background:#006050}#a {transition-duration:250ms;transition-delay:-125ms}</style><body><button id="a">Sample control</button></body></html>