Advertisement
Guest User

Untitled

a guest
Apr 21st, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. <style>
  2. a.tooltip {font-color:#000; }
  3. a.tooltip strong {line-height:30px;}
  4. a.tooltip:hover {text-decoration:none;}
  5. a.tooltip span {
  6. z-index:10;display:none; padding:14px 20px;
  7. margin-top:60px; margin-left:-160px;
  8. width:300px; line-height:16px;
  9. }
  10. a.tooltip:hover span{
  11. display:inline; position:absolute;
  12. border:2px solid #FFF; color:#EEE;
  13. background:#333 url(http://www.menucool.com/tooltip/cssttp/css-tooltip-gradient-bg.png) repeat-x 0 0;
  14. }
  15.  
  16. .callout {z-index:20;position:absolute;border:0;top:-14px;left:120px;}
  17.  
  18. /*CSS3 extras*/
  19. a.tooltip span
  20. {
  21. border-radius:2px;
  22. box-shadow: 0px 0px 8px 4px #666;
  23. /*opacity: 0.8;*/
  24. }
  25.  
  26. </style>
  27. <a href="#" class="tooltip">
  28. binding
  29. <span>
  30. <img class="callout" src="http://www.menucool.com/tooltip/cssttp/callout_black.gif" />
  31. <img src="https://pa1.narvii.com/6373/6160d555df4981eb54868137062c5b60d192b886_hq.gif" width="100%"/>
  32. <strong>Title</strong><br />
  33. discription of arte.
  34. </span>
  35. </a>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement