:interest-target

Experimental: Targets the 'target' of an interest action (like the tooltip or popover itself) while it is currently being shown.

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

/* Usage Example */
[popover]:interest-target {
  /* Styles the popover only when it's natively triggered by interest */
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
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