This is a simple tooltip implementation using only CSS. It uses the ::after pseudo-element to create the tooltip and the content property to set the tooltip text.
::after
content
Hover over this word (bottom) or this one (right) or this one to see the tooltip.