Skip to content

Instantly share code, notes, and snippets.

@kieran23101
Created February 7, 2018 16:17
Show Gist options
  • Save kieran23101/1c6d303987fe6e16ba77251a67a7fc52 to your computer and use it in GitHub Desktop.
Save kieran23101/1c6d303987fe6e16ba77251a67a7fc52 to your computer and use it in GitHub Desktop.
Visual Studio SCSS Bootstrap 4 Snippets
"Small Device Only": {
"prefix": "sm",
"body": [
"@include media-breakpoint-only(sm) {",
"\t$1",
"}"
]
},
"Medium Device Only": {
"prefix": "md",
"body": [
"@include media-breakpoint-only(md) {",
"\t$1",
"}"
]
},
"Large Device Only": {
"prefix": "lg",
"body": [
"@include media-breakpoint-only(lg) {",
"\t$1",
"}"
]
},
"Extra Large Device Only": {
"prefix": "xl",
"body": [
"@include media-breakpoint-only(xl) {",
"\t$1",
"}"
]
},
"Small Device Up": {
"prefix": "smup",
"body": [
"@include media-breakpoint-up(sm) {",
"\t$1",
"}"
]
},
"Medium Device Up": {
"prefix": "mdup",
"body": [
"@include media-breakpoint-up(md) {",
"\t$1",
"}"
]
},
"Large Device Up": {
"prefix": "lgup",
"body": [
"@include media-breakpoint-up(lg) {",
"\t$1",
"}"
]
},
"Extra Large Device Up": {
"prefix": "xlup",
"body": [
"@include media-breakpoint-up(xl) {",
"\t$1",
"}"
]
},
"Small Device Down": {
"prefix": "smdown",
"body": [
"@include media-breakpoint-down(sm) {",
"\t$1",
"}"
]
},
"Medium Device Down": {
"prefix": "mddown",
"body": [
"@include media-breakpoint-down(md) {",
"\t$1",
"}"
]
},
"Large Device Down": {
"prefix": "lgdown",
"body": [
"@include media-breakpoint-down(lg) {",
"\t$1",
"}"
]
},
"Extra Large Device Down": {
"prefix": "xldown",
"body": [
"@include media-breakpoint-down(xl) {",
"\t$1",
"}"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment