ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

HTML5 Doctor CSS Reset snippet

by tinacious ALL

CSS Reset snippet for Sublime Text 2

Labels snippets

Details

  • 2013.03.07.05.39.38
  • github.​com
  • github.​com
  • 10 years ago
  • 2 hours ago
  • 10 years ago

Installs

  • Total 127K
  • Win 104K
  • Mac 15K
  • Linux 9K
Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17
Windows 9 11 11 10 7 13 8 31 7 8 9 10 10 7 11 22 24 11 5 1 10 10 14 9 7 5 9 13 16 10 11 6 6 5 16 18 9 12 15 6 6 13 17 10 12 16
Mac 0 1 1 0 0 0 1 1 2 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 2 1 1 0 0 0 0 1 1 1 0 0 0 0 1 0 0 0 0 1 0
Linux 0 0 0 0 0 1 0 1 0 0 0 0 0 1 0 0 1 0 2 1 0 0 1 0 2 0 1 0 0 0 0 1 0 0 1 0 1 1 1 0 1 0 0 0 2 0

Readme

Source
raw.​githubusercontent.​com

CSS Reset snippet for Sublime Text 2

This snippet uses the minified version of the HTML5 Doctor CSS reset.

Read the documentation here.

tabTrigger : cssreset

No scope specified so it works not only in CSS but anywhere (e.g. LESS, SCSS, etc.).

/*
*  html5 doctor css reset | http://html5doctor.com/html-5-reset-stylesheet
*/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
body{line-height:1}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
nav ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}
ins{background-color:#ff9;color:#000;text-decoration:none}
mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}
del{text-decoration:line-through}
abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}
input,select{vertical-align:middle}