: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.
Syntax
/* Usage Example */
button:interest-source {
/* Highlights the button that is currently showing its tooltip */
outline: 2px solid var(--primary);
}
:interest-source Browser support
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+