Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

81 lines (62 sloc) 2.167 kB
<!DOCTYPE html>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Demo | hint.css</title>
<meta name="description" content="A tooltip library in CSS">
<meta name="viewport" content="width=device-width">
<style type="text/css">
body {
text-align: center;
font-family: Arial;
background: #C2E2F2;
height: 100%;
font-size: 18px;
color: #444;
h1 {
font-size: 5em;
margin: 5px 0;
a {
color: #1A5A7A;
text-decoration: none;
<link rel="stylesheet" href="hint.css">
<h3>A tooltip library in CSS</h3>
<a href="#" class="hint hint--top" data-hint="Yeah, I am >:D">Look, there is something over me.</a>
<a href="#" class="hint hint--right" data-hint="Are you sure you are?">I am always right!</a>
<a href="#" class="hint hint--bottom" data-hint="Sure. Cheers!">How about a bottoms up?</a>
<a href="#" class="hint hint--left" data-hint="LEFT-over Sir...">What do we get now?</a></p>
<p><a class="hint hint--right" data-hint="Made by Kushagra Gour" target="_blank" href=""><img src=""></a>
<a class="hint hint--top hint--error" data-hint="This is an error tooltip">Oh man! You are gonna self-destruct in 5 sec.</a>
<a class="hint hint--left hint--warning" data-hint="This is a warning tooltip">You did something wrong!</a>
<a class="hint hint--right hint--info" data-hint="This is an info tooltip">You can use different classes for different types of tooltips.</a>
<a class="hint hint--bottom hint--success" data-hint="This is a success tooltip">Hurray! You have seen all 4 context types.</a>
<a class="hint hint--left hint--always" data-hint="...which always keep showing">You can also make tooltips...</a>
Jump to Line
Something went wrong with that request. Please try again.