Here's the code:
<style> .toolTip:hover { text-decoration: none; } .toolTip:hover:after { content: attr(data-tooltip); text-decoration:none; position: absolute; background: #40ABF0; padding: 3px 7px; margin-left: 7px; margin-top: -3px; color: #FFF; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; } </style>...
<a href='urlOfSite' target='_blank' class='toolTip' data-tooltip='Text to show in the custom tooltip!'>
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.