vscode/extensions/css/snippets/css.json
2015-12-12 03:22:46 -08:00

29 lines
1,011 B
JSON

{
"transition property": {
"prefix": "transition",
"body": [
"-webkit-transition: ${property} ${duration} ${timing-function} ${delay};",
"-moz-transition: ${property} ${duration} ${timing-function} ${delay};",
"transition: ${property} ${duration} ${timing-function} ${delay};"
],
"description": "The transition property across browsers"
},
"border": {
"prefix": "border",
"body": [
"border: ${width} ${border-style} ${color};$0"
],
"description": "[width] [border-style] [color]"
},
"gradient": {
"prefix": "gradient",
"body": [
"background-image: -webkit-gradient(linear, left top, left bottom, from(${start-color}), to(${end-color}));",
"background-image: -webkit-linear-gradient(top, ${start-color}, ${end-color});",
"background-image: -moz-linear-gradient(top, ${start-color}, ${end-color});",
"background-image: linear-gradient(to bottom, ${start-color}, ${end-color});"
],
"description": "Set the 'background-image' property to a linear gradient"
}
}