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

HTML5 Doctor CSS Reset snippet

by tinacious ST2/ST3 Trending

CSS Reset snippet for Sublime Text 2

Labels snippets

Details

  • 2013.03.07.05.39.38
  • github.​com
  • github.​com
  • 6 years ago
  • 1 hour ago
  • 6 years ago

Installs

  • Total 90K
  • Win 71K
  • OS X 12K
  • Linux 7K
Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6
Windows 9 40 45 43 37 50 49 27 37 36 37 45 47 41 31 46 51 39 52 27 30 14 18 18 34 38 34 28 19 22 20 37 27 26 24 17 19 35 27 37 38 23 20 9 19 22
OS X 1 0 2 3 1 4 3 1 2 3 4 2 1 7 1 6 1 6 2 2 4 4 8 1 2 4 2 1 0 2 4 4 3 1 1 0 2 1 7 5 3 2 1 4 2 3
Linux 1 2 1 2 0 2 2 0 0 1 2 2 0 2 0 1 4 3 0 1 0 1 1 1 1 1 5 1 2 1 1 1 0 3 3 2 0 3 2 3 0 0 1 2 3 2

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}