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

HTML5 Doctor CSS Reset snippet

by tinacious ST2/ST3

CSS Reset snippet for Sublime Text 2

Labels snippets

Details

  • 2013.03.07.05.39.38
  • github.​com
  • github.​com
  • 5 years ago
  • 42 minutes ago
  • 5 years ago

Installs

  • Total 63K
  • Win 48K
  • OS X 10K
  • Linux 6K
Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28
Windows 44 50 21 23 42 53 38 44 48 28 34 42 37 50 52 47 27 32 44 47 40 42 40 25 36 51 49 57 40 53 30 31 46 40 42 49 56 30 32 47 44 59 58 52 28 47
OS X 3 4 5 4 5 10 4 7 9 5 4 3 3 9 4 6 3 3 3 8 5 25 9 4 1 5 8 5 6 7 7 8 5 10 1 10 7 4 1 7 5 6 4 10 10 3
Linux 1 6 2 3 5 2 2 3 3 1 3 4 3 4 4 1 5 5 4 7 3 5 3 5 3 8 10 1 1 3 8 5 5 1 4 2 2 3 1 3 5 1 0 5 1 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}