Hide Without Using Display:None

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

Copy this code and paste it in your HTML
  1. .hide{ /* Hide stuff without resorting to display:none; */
  2. visibility:hidden;
  3. width:0!important;
  4. height:0!important;
  5. line-height:0!important;
  6. padding:0!important;
  7. margin:0!important;
  8. }

URL: http://csswizardry.com/web-design+/

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.