Using CSS clip as an Accessible Method of Hiding Content


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your HTML
  1. .element-invisible {
  2. position: absolute !important;
  3. clip: rect(0, 0, 0, 0);
  4. }
  5. /* IE7 */
  6. *:first-child + html .element-invisible {
  7. clip: rect(0 0 0 0);
  8. }
  9. /* IE6 */
  10. * html .element-invisible {
  11. clip: rect(0 0 0 0);
  12. }

URL: http://adaptivethemes.com/using-css-clip-as-an-accessible-method-of-hiding-content

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.