Accessibility/SEO Friendly CSS Hiding


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

Removes an item from the page, without affecting page flow or causing scrollbars. Much better than display: none; or even visibility: hidden;


Copy this code and paste it in your HTML
  1. #content {
  2. position: absolute;
  3. top: -9999px;
  4. left: -9999px;
  5. }

URL: http://simply-tutorial.com/blog/2015/01/01/accessibility-slash-seo-friendly-css-hiding/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.