mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-25 12:47:14 +00:00
30 lines
1.0 KiB
JSON
30 lines
1.0 KiB
JSON
{
|
|
"transition property": {
|
|
"prefix": "transition",
|
|
"body": [
|
|
"-webkit-transition: ${1:property} ${2:duration} ${3:timing-function} ${4:delay};",
|
|
"-moz-transition: ${1:property} ${2:duration} ${3:timing-function} ${4:delay};",
|
|
"transition: ${1:property} ${2:duration} ${3:timing-function} ${4:delay};"
|
|
],
|
|
"description": "The transition property across browsers"
|
|
},
|
|
"border": {
|
|
"prefix": "border",
|
|
"body": [
|
|
"border: ${1:width} ${2:border-style} ${3:color};$0"
|
|
],
|
|
"description": "[width] [border-style] [color]"
|
|
},
|
|
"gradient": {
|
|
"prefix": "gradient",
|
|
"body": [
|
|
"background-image: -webkit-gradient(linear, left top, left bottom, from(${1:start-color}), to(${2:end-color}));",
|
|
"background-image: -webkit-linear-gradient(top, ${1:start-color}, ${2:end-color});",
|
|
"background-image: -moz-linear-gradient(top, ${1:start-color}, ${2:end-color});",
|
|
"background-image: linear-gradient(to bottom, ${1:start-color}, ${2:end-color});"
|
|
],
|
|
"description": "Set the 'background-image' property to a linear gradient"
|
|
}
|
|
}
|
|
|