Created
June 7, 2012 02:32
-
-
Save j0x0j/2886197 to your computer and use it in GitHub Desktop.
Hover tooltip
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 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