:interest-source

Experimental: Targets an element that is currently the 'source' of interest (the element being hovered or focused) which is triggering an interest-based UI like a tooltip.

This is an experimental technology. The syntax and behavior are still subject to change.

/* Usage Example */
button:interest-source {
  /* Highlights the button that is currently showing its tooltip */
  outline: 2px solid var(--primary);
}
Limited availability Since 2020 62% global usage

This feature is not Baseline because it does not work in some of the most widely-used browsers.

142+
142+
Kinsta

Your first month is free

Managed WordPress hosting for faster sites.

Learn more

New CSS drops.

Join 600+ readers who've survived clearfix hacks.

ESC