Fix linear-gradient() snippet syntax

This commit is contained in:
David Storey
2015-12-12 03:22:46 -08:00
parent 18c4a65cb2
commit a59908a721

View File

@@ -18,10 +18,10 @@
"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});"
"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"
}