Advertisement
Guest User

tooltip.css

a guest
Oct 27th, 2012
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.44 KB | None | 0 0
  1. #tooltip
  2. {
  3.     position: absolute;
  4.     left: 0;
  5.     top: 0;
  6.     background-color: #000000;
  7.     padding: 5px 10px;
  8.     display: none;
  9.     z-index: 999;
  10. }
  11.  
  12. #tooltip span
  13. {
  14.     color: #FFFFFF;
  15. }
  16.  
  17. #tooltip i
  18. {
  19.     border: 5px solid transparent;
  20.     border-right-width: 0;
  21.     border-left-color: #000000;
  22.     position: absolute;
  23.     right: -5px;
  24.     top: 6px;
  25. }
  26.  
  27. #tooltip i.left
  28. {
  29.     right: auto;
  30.     left: -5px;
  31.     border-left-width: 0;
  32.     border-right: 5px solid #000000;
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement