concept
Interest invoker — CSS reference
An interest invoker associates with a target through interestfor and can react to hover or focus. A popovertarget on the same button provides explicit activation; a normal button click remains meaningful without hover. Do not place essential content exclusively behind transient interest.
Formal Syntax & Structure
css syntaxcss
<button interestfor="tip" popovertarget="tip">Details</button>Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>Interest invoker</title><style>body{margin:16px;font:16px/1.5 system-ui;background:white;color:#172033} .demo{background:#dbeafe;box-sizing:border-box} button,select{font:inherit}#trigger{interest-delay:0s 0s}#trigger:interest-source{color:rgb(0,128,0)}#tip:interest-target{background:rgb(219,234,254)}</style><body><button id="trigger" interestfor="tip" popovertarget="tip" type="button">Details</button><div id="tip" popover="auto">Course description</div></body></html>