add snippets
This commit is contained in:
parent
066926e863
commit
765182a79b
|
@ -123,6 +123,14 @@ snippet o "opacity: ... ;"
|
||||||
opacity: ${1:0};
|
opacity: ${1:0};
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet rgbw "rgba( ... )"
|
||||||
|
rgba(${1:#fff}, ${2:0.5})
|
||||||
|
endsnippet
|
||||||
|
|
||||||
|
snippet rgbb "rgba( ... )"
|
||||||
|
rgba(${1:#000}, ${2:0.5})
|
||||||
|
endsnippet
|
||||||
|
|
||||||
snippet before "::before { ... }"
|
snippet before "::before { ... }"
|
||||||
${1:&}::before {
|
${1:&}::before {
|
||||||
content: '$2';
|
content: '$2';
|
||||||
|
|
|
@ -37,7 +37,6 @@ for (let ${1:index} = ${2:0}; $1 $3; $1${4:++}) {
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet st "setTimeout( ... )"
|
snippet st "setTimeout( ... )"
|
||||||
setTimeout(() => {
|
setTimeout(() => {$0
|
||||||
$1
|
}, ${1:1000});
|
||||||
}, ${2:1000})
|
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
Loading…
Reference in New Issue