29 lines
1,011 B
JSON
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"
|
|
}
|
|
}
|