Created
May 1, 2024 06:11
-
-
Save thangman22/9ff06c70117fc6b3a1eef73912373e61 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<button popovertarget="my-popover" class="trigger-btn"> Open Popover </button> | |
<div id="my-popover" popover=manual> | |
<p>I am a popover with more information. Hit the close button or toggle to close me.<p> | |
<button class="close-btn" popovertarget="my-popover" popovertargetaction="hide"> | |
<span aria-hidden="true">❌</span> | |
<span class="sr-only">Close</span> | |
</button> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment