Skip to content

Instantly share code, notes, and snippets.

@j0x0j
Created June 7, 2012 02:32
Show Gist options
  • Save j0x0j/2886197 to your computer and use it in GitHub Desktop.
Save j0x0j/2886197 to your computer and use it in GitHub Desktop.
Hover tooltip
<!-- los valores son ejemplo nadamás -->
<style>
.expand {
position: absolute;
overflow: visible;
}
.expand.a {
top: 10px;
left: 10px;
}
.expand .tooltip {
position: absolute;
top: -40px;
left: -20px;
}
.expand:hover .tooltip {
display: block !important;
}
</style>
<div class="expand a">
<a href="#"></a> <!-- this is your arrow + sign -->
<div class="tooltip" style="display:none">
<!-- your content for the tooltip -->
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment