add snippets

This commit is contained in:
ManjaroOne666 2019-07-30 12:35:37 +01:00
parent 066926e863
commit 765182a79b
2 changed files with 10 additions and 3 deletions

View File

@ -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';

View File

@ -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