Settings

Theme

A tooltip with plain HTML and Tailwind CSS

harrisonbroadbent.com

2 points by hbroadbent 8 months ago · 1 comment

Reader

hbroadbentOP 8 months ago

Hey HN, I've been playing around with HTML & CSS only tooltips for a while, and I finally decided to write a bit about them. Hopefully someone here will find them interesting!

At the end of the article, I also touch on the new CSS anchor API, which will simplify things a bit once (if) it becomes more widely supported.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection