Generatore Tooltip CSS

Genera stili tooltip CSS

Elaborazione nel BrowserI tuoi dati non lasciano mai il browser

Position

Content

Styling

Background
Text Color
Font Size
Padding
Border Radius6px
Arrow Size6px
Max Width200px

Animation

Transition Duration200ms

Preview (Hover to see tooltip)

Hover me This is a tooltip

CSS

.tooltip-trigger {
  position: relative;
  cursor: pointer;
}

.tooltip-content {
  position: absolute;
  bottom: 100%;
  
  
  
  left: 50%;
  
  margin-bottom: 14px;
  
  
  
  background-color: #1f2937;
  color: #ffffff;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 6px;
  max-width: 200px;
  white-space: nowrap;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease;
}

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

.tooltip-content::before {
  content: '';
  position: absolute;
  top: 100%;
  
  
  
  left: 50%; margin-left: -6px;
  
  border-width: 6px;
  border-style: solid;
  border-color: #1f2937 transparent transparent transparent;
}

HTML

<span class="tooltip-trigger">
  Hover me
  <span class="tooltip-content">This is a tooltip</span>
</span>

About Generatore Tooltip CSS

Genera stili tooltip CSS

Use this free online generatori css tool to work faster without installing extra software. The interface is built for quick input, clear output, and straightforward results on desktop and mobile devices.

Processing

This tool runs in your browser whenever possible, which keeps your inputs private and reduces unnecessary round-trips to the server.