Skip to content

Instantly share code, notes, and snippets.

@jq-87
Created September 29, 2017 18:16
Show Gist options
  • Save jq-87/5755dd190a28b62c9187d1b804cf1883 to your computer and use it in GitHub Desktop.
Save jq-87/5755dd190a28b62c9187d1b804cf1883 to your computer and use it in GitHub Desktop.
SCSS vscode snippet
{
"Sass Breakpoint": {
"prefix": "bp",
"body": [
"@include bp($1){",
"\t$2",
"}"
],
"description": "Breakpoint mixin"
},
"Mobile Breakpoint": {
"prefix": "mobile",
"body": [
"@include bp(mobile){",
"\t$1",
"}"
],
"description": "Mobile breakpoint mixin"
},
"Landscape Breakpoint": {
"prefix": "landscape",
"body": [
"@include bp(landscape){",
"\t$1",
"}"
],
"description": "Landscape breakpoint mixin"
},
"Portrait Breakpoint": {
"prefix": "portrait",
"body": [
"@include bp(portrait){",
"\t$1",
"}"
],
"description": "Portrait breakpoint mixin"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment