Posted By

ultrapasty on 10/08/13


Tagged

image hide text replacement ir


Versions (?)

CSS Image Replacement


 / Published in: CSS
 

URL: http://www.zeldman.com/2012/03/01/replacing-the-9999px-hack-new-image-replacement/

Use this instead of text-indent:-9999px;

  1. .ir {
  2. text-indent: 100%;
  3. white-space: nowrap;
  4. overflow: hidden;
  5. }

Report this snippet  

You need to login to post a comment.