Posted By

chris5marsh on 03/19/12


image images background replacement

Versions (?)

Kellum Method (hiding text in CSS image background divs)

 / Published in: CSS


  • Really long strings of text will never flow into the container because they always flow away from the container.
  • Performance is dramatically improved because a 9999px box is not drawn. Noticeably so in animations on the iPad 1.
  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.