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