Favorites

CSS interest-delay Property

interest-delay
CSS PropertyThis property is supported in some modern browsers, but not all.
Updated 22nd November 2026

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.

Looks like you're using an ad blocker, and that's fine! Ads help keep CSS Portal's generators and references free, so if the site's useful to you, visit our Support page to see other ways to help.

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 second interest-delay-end.
  • normalUses the browser's default delays.
  • initialSets the property to its initial value.
  • inheritTakes the computed value of the parent element.

Example

<button interestfor="tip">Hover or focus me</button>
<div id="tip" popover="hint">A tooltip opened by interest</div>
button {
  font: 16px system-ui, sans-serif;
  padding: 10px 18px;
  interest-delay: 100ms 1s;  /* open fast, close slowly */
}

[popover] {
  margin: 0;
  padding: 6px 10px;
  border: none;
  border-radius: 6px;
  background: #333;
  color: #fff;
  font-family: system-ui, sans-serif;
}
Open in editor

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.

This property is supported in some modern browsers, but not all.

Desktop

Chrome
Edge
Firefox
Opera
Safari

Tablets & Mobile

Chrome Android
Firefox Android
Opera Android
Safari iOS
Samsung Internet
Android WebView
-
Supported Unknown Not supported

Looks like you're using an ad blocker, and that's fine! Ads help keep CSS Portal's generators and references free, so if the site's useful to you, visit our Support page to see other ways to help.