Posted By

adambundy on 09/19/12


Tagged


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

alexilin
adambundy
ruijscosta
lionminister


New CSS image replacement technique


 / Published in: CSS
 

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

Thanks to Scott Kellum (http://scottkellum.com/) via Zeldman

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

Report this snippet  

You need to login to post a comment.