79375798

Date: 2025-01-21 20:09:38
Score: 1
Natty:
Report link

Nowadays we can do that without JavaScript nor CSS by using a Browsers Popover API.

I am so happy to answer that question!

<button popovertarget="mypopover">Toggle the popover</button>
<div id="mypopover" popover>Popover content</div>

references:

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: André Kelling