In this example below you will see how to do a Hs_Tooltip_Component with some HTML / CSS and Javascript

This awesome code was written by juicyarts, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright juicyarts ©
  • HTML
<!DOCTYPE html>
<html lang="en" >

  <meta charset="UTF-8">


<!-- this belongs to the header section to make the component available-->
<script src="https://cdn.rawgit.com/download/polymer-cdn/1.5.0/lib/webcomponentsjs/webcomponents-lite.min.js"></script>
<link rel="import" href="https://admon.hs-edge.net/components/dist_hs-tooltip">
<style is="custom-style">
  :root {
    --hs-tooltip-overlay-padding: 10px;
    --hs-tooltip-overlay-height: 45px;
    --hs-tooltip-overlay-width: 250px;
    --hs-tooltip-overlay-bg: white;
<!-- Include this everywhere you need the tooltip to be displayed -->
<!-- admon -->
<hs-tooltip class="hs__tooltip" position="bottom" provider="admon" publisher="test" affiliate-id="999" idref="co" idref-id="12"></hs-tooltip>