CSS Tooltip Generator

Generate CSS tooltips with live preview. Control position, color, arrow, and animation.

40.3Kuses
9.4/10(499)
Tooltip text
13px
8px
6px
6px
200px

CSS Code

.tooltip-wrapper {
  position: relative;
  display: inline-block;
}

.tooltip {
  position: absolute;
  bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 8px;
  background: #1a1a2e;
  color: #ffffff;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 6px;
  max-width: 200px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.tooltip::after {
  content: "";
  position: absolute;
  bottom: -6px; left: 50%; transform: translateX(-50%); border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 6px solid #1a1a2e;
}

.tooltip-wrapper:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

Recommended Products

Ad

Affiliate Disclosure: As an Amazon Associate, ToolBird earns from qualifying purchases. Links above are affiliate links — if you buy through them, we may earn a small commission at no extra cost to you.

Disclaimer: This tool is provided as-is for informational and educational purposes only.

ToolBird Assistant

Find the right tool instantly

Hey! I'm ToolBird Assistant. Tell me what you need and I'll find the right tool for you.