---
title: TransitionEvent.elapsedTime
slug: Web/API/TransitionEvent/elapsedTime
tags:
  - API
  - CSS
  - CSS3 Transitions
  - CSSOM
  - Experimental
  - Property
  - Reference
  - TransitionEvent
browser-compat: api.TransitionEvent.elapsedTime
---
{{ apiref("CSSOM") }} {{SeeCompatTable}}

The **`TransitionEvent.elapsedTime`** read-only property is a
`float` giving the amount of time the animation has been running, in seconds,
when this event fired. This value is not affected by the {{cssxref("transition-delay")}}
property.

## Syntax

```js
name = TransitionEvent.elapsedTime
```

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- [Using CSS transitions](/en-US/docs/Web/CSS/CSS_Transitions/Using_CSS_transitions)
