💬 CSS Tooltip Generator

Build pure CSS tooltips with no JavaScript — customize position, colors, arrow, size and animation, then copy the ready-to-use code.

Position
Style
Size & Shape
Font size 13px
Padding 6px 10px
Border radius 6px
Max width 180px
Animation
Duration 200ms
Options
Show arrow
Shadow
Tooltip Text
Hover the button to see the tooltip

About Pure CSS Tooltips

CSS tooltips work by combining position: absolute on the tooltip element with :hover on the parent wrapper. The arrow is a zero-width, zero-height element made visible using the CSS border trick — only one side gets a color, turning the opposing transparent borders into a triangle. No JavaScript is needed for show/hide. For accessibility, prefer role="tooltip" and aria-describedby on the trigger element — hover-only tooltips are invisible to keyboard users. Add :focus-within .tooltip { opacity: 1 } to the wrapper to also show the tooltip on keyboard focus.