The simple-tooltip is used in the my-content element. Since the content is just the element children, the tooltip renders a slot in its shadowRoot. The tooltip is displayed by default which isn't correct, but this makes it easier to add styling. To style the tooltip element itself, add the following properties to the :host selector of simple-tooltip.

simple-tooltip.

Permalink to "simple-tooltip."

Learn more about theming, styling, and the :host selector in the Lit documentation.

The tooltip should be shown on top of the content it's hinting. Using position: fixed creates a new stacking context which should work fine for the majority of cases.