Posted By

rwczippy on 05/25/09


Tagged

css hover tooltip


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

jfherring
rwczippy
aleksanderek


css tooltips


 / Published in: CSS
 

URL: http://www.smashingmagazine.com/2009/05/25/ask-sm-css-quick-question-edition/

  1. a span {
  2. display:none;
  3. }
  4. a:hover span {
  5. display:block;
  6. position:absolute;
  7. float:left;
  8. white-space:nowrap;
  9. top:-2.2em;
  10. left:.5em;
  11. background:#fffcd1;
  12. border:1px solid #444;
  13. color:#444;
  14. padding:1px 5px;
  15. z-index:10;
  16. }

Report this snippet  

You need to login to post a comment.