Merge pull request #1220 from dstorey/gradient-fix
Fix linear-gradient() snippet syntax
This commit is contained in:
commit
8745c95e80
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue