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

View File

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