All the animations are handled in the CSS, too --- the only JavaScript I needed was to add `mouseent
All the animations are handled in the CSS, too --- the only JavaScript I needed was to add
mouseenter
and mouseleave
listeners to the main sheet, to trigger the showPopover()
and hidePopover()
methods on HTMLElement
(default behavior is you have to click on the trigger to make the popover appear)
0 Replies