提交 a59908a7 编写于 作者: D David Storey

Fix linear-gradient() snippet syntax

上级 18c4a65c
...@@ -18,10 +18,10 @@ ...@@ -18,10 +18,10 @@
"gradient": { "gradient": {
"prefix": "gradient", "prefix": "gradient",
"body": [ "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-gradient(linear, left top, left bottom, from(${start-color}), to(${end-color}));",
"background-image: -webkit-linear-gradient(top, ${start-color}, ${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" "description": "Set the 'background-image' property to a linear gradient"
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册