Add

Lorem ipsum

Lorem ipsum

A
A
A
Design

4 views

4 min

How to Add a Tooltip in Webflow

Learn how to add tooltips in Webflow without a library, using only CSS and an HTML embed.

In this tutorial, Sandro, cofounder of the Gemeos Webflow agency, shows you how to add tooltips in Webflow without an external library, using only CSS.

Example

Hover over the elements

Webflow
No-code website builder
SEO
Search engine optimization
CRO
Conversion rate optimization
GEO
Visibility in AI tools (Perplexity, ChatGPT...)
CSS propertyValueRole
positionrelativeOn the trigger element
positionabsoluteOn the tooltip
visibilityhiddenHidden by default
opacity0Transparent by default
:hover visibilityvisibleShown on hover

1. Create the HTML structure in an Embed

Add an Embed element to your page with the structure below. Change the tooltip text to fit your needs.

2. Add this CSS in an embed or in your global styles

.tooltip-wrapper { position: relative; display: inline-block; }
.tooltip {
position: absolute;
bottom: 125%;
left: 50%;
transform: translateX(-50%);
background: #333;
color: #fff;
padding: 6px 12px;
border-radius: 6px;
font-size: 13px;
white-space: nowrap;
visibility: hidden;
opacity: 0;
transition: opacity 0.2s;
}
.tooltip-wrapper:hover .tooltip { visibility: visible; opacity: 1; }

3. Publish and test

The tooltip appears on hover with a smooth transition. Adjust the bottom: 125% value to place the tooltip below (top: 125%) or on the sides.

good to know

This pure CSS approach doesn't work on mobile (no hover). For a mobile-friendly version, use a click event instead of hover in JavaScript: element.addEventListener('click', () => tooltip.classList.toggle('visible')).

Conclusion

Tooltips improve understanding without cluttering the interface. Use cases:

  • Explaining a technical term in a form
  • Extra info about a price or feature
  • Contextual help for icons without labels

Good to know

Heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Lorem ipsum dolor sit amet consectetur.

Lorem ipsum dolor sit amet consectetur. Aliquam orci sagittis dignissim sapien praesent donec.

Lorem ipsum

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Published on

You might be interested in these tutorials

Similar tutorials

SEO / GEO

5 min read

5 views

How to Set Up a Redirect in Webflow? (2026)

Updated on 19.12.2025 by Sandro DA SILVA

SEO / GEO

5 min read

5 views

Add structured data to your Webflow site?

Updated on 21.08.2025 by Sandro DA SILVA

No-code

5 min read

5 views

How to Obfuscate a Link in Webflow

Updated on 23.04.2025 by Sandro DA SILVA

Let’s f*****G GO !!

Ready to launch
Your business?

Alexandre

Max

Enora

Bryan

Cannelle

Tiphaine

You'll :heart: our collaboration...