Compare commits
2 Commits
d83f032366
...
ec963fd41f
Author | SHA1 | Date |
---|---|---|
Ray Elliott | ec963fd41f | |
Ray Elliott | f1f9f89948 |
|
@ -3,7 +3,7 @@ snippet sld "/* stylelint-disable-next-line ... */"
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet @m "@media ..."
|
snippet @m "@media ..."
|
||||||
@media (${1:min}-${2:width}: ${3:$bp-s}) {
|
@media (${1:min}-${2:width}: ${3:$bp-${4:s}}) {
|
||||||
$0
|
$0
|
||||||
}
|
}
|
||||||
endsnippet
|
endsnippet
|
||||||
|
@ -39,19 +39,19 @@ snippet h "height: ;"
|
||||||
height: ${1:100%};
|
height: ${1:100%};
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet maxw "max-width: ;"
|
snippet mxw "max-width: ;"
|
||||||
max-width: ${1:100%};
|
max-width: ${1:100%};
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet maxh "max-height: ;"
|
snippet mxh "max-height: ;"
|
||||||
max-height: ${1:100%};
|
max-height: ${1:100%};
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet minw "min-width: ;"
|
snippet mnw "min-width: ;"
|
||||||
min-width: ${1:100%};
|
min-width: ${1:100%};
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet minh "min-height: ;"
|
snippet mnh "min-height: ;"
|
||||||
min-height: ${1:100%};
|
min-height: ${1:100%};
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
|
22
init.vim
22
init.vim
|
@ -416,17 +416,17 @@ iabbrev positin position
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" css{{{
|
" css{{{
|
||||||
iabbrev pabs; position: absolute;
|
" TODO move these into autocommand to just load in css, scss, jsx, files
|
||||||
iabbrev pfix; position: fixed;
|
iabbrev pabs position: absolute;
|
||||||
iabbrev prel; position: relative;
|
iabbrev pfix position: fixed;
|
||||||
iabbrev fdr; flex-direction: row;
|
iabbrev prel position: relative;
|
||||||
iabbrev fdc; flex-direction: column;
|
iabbrev fdr flex-direction: row;
|
||||||
iabbrev jcc; justify-content: center;
|
iabbrev fdc flex-direction: column;
|
||||||
iabbrev aic; align-items: center;
|
iabbrev jcc justify-content: center;
|
||||||
iabbrev t0; top: 0;
|
iabbrev aic align-items: center;
|
||||||
iabbrev b0; bottom: 0;
|
iabbrev ovh overflow: hidden;
|
||||||
iabbrev l0; left: 0;
|
iabbrev ovv overflow: visible;
|
||||||
iabbrev r0; right: 0;
|
iabbrev ova overflow: auto;
|
||||||
|
|
||||||
iabbrev ct'' content-type: '';
|
iabbrev ct'' content-type: '';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue