Skip to content

Instantly share code, notes, and snippets.

@daliborgogic
Last active July 8, 2018 17:01
Show Gist options
  • Save daliborgogic/13ea90f8b8c4b3264e4eb77bfc07b760 to your computer and use it in GitHub Desktop.
Save daliborgogic/13ea90f8b8c4b3264e4eb77bfc07b760 to your computer and use it in GitHub Desktop.
Reduce browser inconsistencies
{
"Reset": {
"prefix": "reset",
"scope": "stylus",
"body": [
"*",
"*::before",
"*::after",
" box-sizing border-box",
"",
"html",
" font-family sans-serif",
" line-height 1.15",
" -webkit-text-size-adjust 100%",
" -ms-text-size-adjust: 100%",
" -ms-overflow-style: scrollbar",
" -webkit-tap-highlight-color: rgba(0, 0, 0, 0)",
"",
"@-ms-viewport",
" width device-width",
"",
"body",
" margin 0",
" font-family \"system-ui\"",
" font-size 1rem",
" font-weight 400",
" line-height 1.5",
" color #212529",
" text-align left",
" background-color #fff",
"",
"[tabindex=\"-1\"]:focus",
" outline 0 !important",
"",
"p",
" margin-top 0"
],
"description": "Reduce browser inconsistencies"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment