Skip to content

Instantly share code, notes, and snippets.

@vincentnavetat
Last active May 14, 2020 13:38
Show Gist options
  • Save vincentnavetat/026f6e69e8f5ba51f101ba4ed3e1f2bf to your computer and use it in GitHub Desktop.
Save vincentnavetat/026f6e69e8f5ba51f101ba4ed3e1f2bf to your computer and use it in GitHub Desktop.
Tooltip web component HTML
<wow-tooltip class="tooltip">
<div class="tooltip__label" aria-describedby="tooltip-demo-content" data-tooltip-placeholder>
Here is a tooltip label
</div>
<div class="tooltip-dropdown" data-tooltip-dropdown>
<div role="tooltip" id="tooltip-demo-content" class="tooltip-dropdown__content">
It is a long established fact that a reader will be
<strong>distracted</strong>
by the readable content of a page when looking at its layout.
</div>
</div>
</wow-tooltip>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment