Skip to content

Instantly share code, notes, and snippets.

@JohnONolan
Created February 2, 2019 08:42
Show Gist options
  • Select an option

  • Save JohnONolan/b5db7eafde5d4635ff962f76d48e88ce to your computer and use it in GitHub Desktop.

Select an option

Save JohnONolan/b5db7eafde5d4635ff962f76d48e88ce to your computer and use it in GitHub Desktop.
{
"TRBL": {
"prefix": ".trbl",
"scope": "css,postcss",
"body": [
"top: 0;",
"right: 0;",
"bottom: 0;",
"left: 0"
],
"description": "top/right/bottom/left: 0"
},
"Grid": {
"prefix": ".grid",
"scope": "css,postcss",
"body": [
"display: grid;",
"justify-content: space-between;",
"grid-gap: 30px;",
"grid-template-columns: 1fr 1fr 1fr 1fr;"
],
"description": "basic grid"
},
"GridCol": {
"prefix": ".gridcol",
"scope": "css,postcss",
"body": [
"grid-column-end: span ${1:2};$0",
],
"description": "grid col span"
},
"GridRow": {
"prefix": ".gridrow",
"scope": "css,postcss",
"body": [
"grid-row-end: span ${1:2};$0",
],
"description": "grid row span"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment