CSS interest-delay Property
The interest-delay shorthand sets how long the user must hover or focus an interestfor element before its target is shown, and before it is hidden again.
Description
The interest-delay property is a shorthand for interest-delay-start and interest-delay-end. It sets how long the user must hover over or focus an interest invoker before its target is shown, and how long the target stays open after the user moves away.
Interest invokers are buttons or links with an interestfor attribute that points to the id of another element, usually a popover. When the user hovers over, focuses or long-presses the invoker, the browser "shows interest" and opens the target after a short delay, and closes it again some time after interest is lost. This allows tooltips and hover cards without JavaScript.
One value sets both delays; two values set the start delay and then the end delay, for example interest-delay: 200ms 800ms.
Definition
- Initial value
- see individual properties
- Applies to
- all elements
- Inherited
- no
- Computed value
- see individual properties
- Animatable
- see individual properties
- JavaScript syntax
- object.style.interestDelay
Syntax
interest-delay: <interest-delay-start> <interest-delay-end>?;
Values
- <time>One value sets both the start and end delays.
- <time> <time>The first value sets
interest-delay-start, the secondinterest-delay-end. - normalUses the browser's default delays.
- initialSets the property to its initial value.
- inheritTakes the computed value of the parent element.
Example
Browser Support
The following information will show you the current browser support for the CSS interest-delay property. Hover over a browser icon to see the version that first introduced support for this CSS property.
Desktop





Tablets & Mobile





