Hover tooltip

A large serif phrase that draws a line under itself and raises a small card above it on hover, focus or tap; the card comes in out of a blur as a band of light crosses it. The owner writes the phrase and the card's title and text.

  • 3 editable fields
  • Light and dark
  • Phone to desktop
  • Animated, calmer for reduced motion
  • Set in Funnel Display
  • No JavaScript
Full page

Copy the code with a free developer account

Every component here is free for developers on WireSwan. Create an account, or sign in, and the HTML and CSS are one click away.

How to use it

Paste it in

The line for the head of the page first (the fonts it is set in), then the HTML where the section goes, the CSS in your stylesheet. Everything is under one class, so it cannot restyle the rest of the site.

Make it yours

The colours are the variables at the top of the CSS, with a dark set beside them; the fonts come from Google Fonts by the head line, one font-family line each to swap for your site's own. Using a component twice on one page? Give the second one its own data-edit names.

Upload the site

Every field listed above is in the owner's editor from the first upload, with no setup on your side.

More components

See them all