5 ms·
The core trick to making a popover, tooltip, or, really, any kind of overlay element that's anchored to something on the page is putting an element with `positi
by grishka 27d ago
The core trick to making a popover, tooltip, or, really, any kind of overlay element that's anchored to something on the page is putting an element with `position: absolute` inside one with `position: relative`. You can make it display on hover with CSS alone too, if you really want to.