Compare commits

...

2 Commits

2 changed files with 16 additions and 16 deletions

View File

@ -3,7 +3,7 @@ snippet sld "/* stylelint-disable-next-line ... */"
endsnippet
snippet @m "@media ..."
@media (${1:min}-${2:width}: ${3:$bp-s}) {
@media (${1:min}-${2:width}: ${3:$bp-${4:s}}) {
$0
}
endsnippet
@ -39,19 +39,19 @@ snippet h "height: ;"
height: ${1:100%};
endsnippet
snippet maxw "max-width: ;"
snippet mxw "max-width: ;"
max-width: ${1:100%};
endsnippet
snippet maxh "max-height: ;"
snippet mxh "max-height: ;"
max-height: ${1:100%};
endsnippet
snippet minw "min-width: ;"
snippet mnw "min-width: ;"
min-width: ${1:100%};
endsnippet
snippet minh "min-height: ;"
snippet mnh "min-height: ;"
min-height: ${1:100%};
endsnippet

View File

@ -416,17 +416,17 @@ iabbrev positin position
"}}}
" css{{{
iabbrev pabs; position: absolute;
iabbrev pfix; position: fixed;
iabbrev prel; position: relative;
iabbrev fdr; flex-direction: row;
iabbrev fdc; flex-direction: column;
iabbrev jcc; justify-content: center;
iabbrev aic; align-items: center;
iabbrev t0; top: 0;
iabbrev b0; bottom: 0;
iabbrev l0; left: 0;
iabbrev r0; right: 0;
" TODO move these into autocommand to just load in css, scss, jsx, files
iabbrev pabs position: absolute;
iabbrev pfix position: fixed;
iabbrev prel position: relative;
iabbrev fdr flex-direction: row;
iabbrev fdc flex-direction: column;
iabbrev jcc justify-content: center;
iabbrev aic align-items: center;
iabbrev ovh overflow: hidden;
iabbrev ovv overflow: visible;
iabbrev ova overflow: auto;
iabbrev ct'' content-type: '';