Preview Tooltip on Link Hover

Image: Preview Tooltip on Link Hover GIF

With this snippet by Dudley Storey you can add a preview modal for links within your content. When anyone hovers over one of these links a preview tooltip appears to the right of the content, which can display some text and an image. This is great when you want your visitors to see some extra information that is not integral to the main content. It will not work on small screen devices.

If you are having trouble with the pen, try the archived copy on GitHub

Link Hover Tooltip Snippet

See the Pen Link Preview Prototype by Dudley Storey (@dudleystorey) on CodePen.0

Posted by:Hima Vincent

Hima Vincent is the founder & editor in chief of CodeMyUI. She is a writer by day and a reader by night who helps web designers build awesome projects by sharing amazing code snippets for inspiration. Hobbies include designing, card games, photography and exploring the culinary arts.