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
  • 1 hour ago
  • 5 years ago

Installs

  • Total 61K
  • Win 46K
  • OS X 9K
  • Linux 5K
Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2
Windows 55 45 22 24 51 53 32 37 53 38 46 50 34 47 60 40 34 25 69 58 68 67 57 32 50 48 47 58 62 58 37 43 59 73 66 47 42 32 35 48 61 56 49 55 33 33
OS X 18 14 2 3 5 6 4 7 7 4 7 10 6 4 10 8 7 8 4 6 5 10 8 1 6 5 5 5 6 10 2 8 8 5 9 5 4 5 1 2 5 8 1 3 5 5
Linux 4 3 1 4 1 4 0 4 5 5 3 5 6 7 9 0 3 4 4 3 2 3 3 4 1 4 4 3 8 6 0 6 2 5 7 4 2 3 4 4 2 1 3 3 4 4

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}