Attribute-driven ::before & ::after tooltips
Render crisp directional callouts from a single data-tooltip attribute with zero JavaScript overhead.
Pure-CSS tooltip architecture
The trigger element reads its message via content: attr(data-tooltip) on ::before and draws a matching CSS border caret on ::after, appearing on both pointer :hover and keyboard :focus-visible.