:interest-source
Limited availability72% of usersExperimental
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.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyComingNot in Firefox or Safari yet, so not every major browser supports it.
See how modern your own CSS is.Check your CSS →
Quick example
button:interest-source {
/* Highlights the button that is currently showing its tooltip */
outline: 2px solid var(--primary);
}:interest-source browser support
BaselineLimited availabilityThis feature is not Baseline because it does not work in some of the most widely-used browsers.Not ready for production without a fallback.
Usage72%of people can use this28% use a browser without it.
Browsers
142+
142+Mobile
142+Android