mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Add CSS Gradient snippet.
This commit is contained in:
parent
0dfc06e0f9
commit
eb291ec183
|
@ -14,5 +14,15 @@
|
|||
"border: ${width} ${border-style} ${color};$0"
|
||||
],
|
||||
"description": "[width] [border-style] [color]"
|
||||
},
|
||||
"gradient": {
|
||||
"prefix": "gradient",
|
||||
"body": [
|
||||
"background-image: -moz-linear-gradient(top, ${start-color}, ${end-color});",
|
||||
"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: linear-gradient(top, ${start-color}, ${end-color});"
|
||||
],
|
||||
"description": "Set the 'background-image' property to a linear gradient"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue