Posted By

paulstraw on 08/19/10


Tagged

css reset starter


Versions (?)

CSS Starter


 / Published in: CSS
 

  1. * { border:0px; margin:0px; padding:0px; }
  2. html { overflow-y:scroll; } /* always show scrollbar in non-IE */
  3. body { font-size:16px; line-height:24px; font-family:"Lucida Grande", "Lucida Sans", "Lucida Sans Unicode", "Tahoma", "Verdana", sans-serif; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
  4. img { -ms-interpolation-mode:bicubic; }
  5. strong { font-weight:bold; }
  6. em { font-style:italic; }
  7. hr { display:block; height:1px; border-top:1px solid #000; margin:24px 0; }
  8. ul { margin-left:30px; }
  9. ol { margin-left:30px; list-style-type:decimal; }
  10. pre { white-space:pre; white-space:pre-wrap; white-space:pre-line; word-wrap:break-word; }
  11.  
  12. a:hover, a:active { outline:0px; }
  13. a:link { -webkit-tap-highlight-color:#FF5E99; }
  14. ::-moz-selection{ background:#FF5E99; color:#fff; text-shadow: none; }
  15. ::selection { background:#FF5E99; color:#fff; text-shadow: none; }
  16.  
  17. input, select { vertical-align:middle; }
  18. label, input[type="button"], input[type="submit"], button { cursor:pointer; }
  19. input[type="radio"] { vertical-align:text-bottom; }
  20. input[type="checkbox"] { vertical-align:bottom; *vertical-align:baseline; }
  21. button { width:auto; overflow:visible; } /* IE */
  22.  
  23. /* clearfix: */
  24. .group:after { content:"."; display:block; height:0; clear:both; visibility:hidden; }
  25. * html .group { height:1%; } /* IE6 */
  26. *:first-child+html .group { min-height:1px; } /* IE7 */

Report this snippet  

You need to login to post a comment.