update css snippets

This commit is contained in:
Ray Elliott 2020-09-29 16:23:54 +01:00
parent 3a2b41b0cc
commit 8309c2272f
1 changed files with 15 additions and 3 deletions

View File

@ -2,9 +2,21 @@ snippet sld "/* stylelint-disable-next-line ... */"
/* stylelint-disable-next-line ${1:declaration-block-no-shorthand-property-overrides} */ /* stylelint-disable-next-line ${1:declaration-block-no-shorthand-property-overrides} */
endsnippet endsnippet
snippet @m "@media ..." snippet @m "@media ( ..."
@media (${1:min}-${2:width}: ${3:$bp-${4:s}}) { @media ($1: ${2:$bp-${3:s}}) {
$0 $0
}
endsnippet
snippet @max "@media (max-width: ..."
@media (max-width: ${2:$bp-${3:s-max}}) {
$0
}
endsnippet
snippet @min "@media (min-width: ..."
@media (min-width: ${2:$bp-${3:s}}) {
$0
} }
endsnippet endsnippet