Favorites

CSS interest-delay-end Property

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

The interest-delay-end property sets how long to wait before hiding an interest target after the user stops showing interest.

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-end property sets how long an interest target stays open after interest is lost, that is, after the pointer leaves the invoker (and the target) or focus moves elsewhere. A longer end delay gives users time to move the pointer from the invoker onto a hover card, for example to click a link inside it.

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.

Definition

Initial value
normal
Applies to
all elements
Inherited
yes
Computed value
as specified
Animatable
discrete
JavaScript syntax
object.style.interestDelayEnd

Syntax

interest-delay-end: normal | <time>;

Values

  • normalThe default. The browser chooses the delay.
  • <time>The delay before the target is hidden after interest is lost, for example 1s.
  • 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-end: 2s;  /* stay open for 2s after leaving */
}

[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-end 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.