Emmet – raccourcis css – redéfinir le flux : position, float, display, visibility, overflow, clip, resize, flex

  • CSS module uses fuzzy search to find unknown abbreviations, e.g. ov:h == ov-h == ovh == oh.
  • If abbreviation wasn’t found, it is transformed into property name: foo-bar → foo-bar: | ;
  • You can prefix abbreviations with hyphen to produce vendor-prefixed properties: -foo

position, top, left, right, bottom, z-index

abréviationrésultatabréviationrésultat
pos,pos:rposition:relative;r:aright:auto;
pos:sposition:static;bbottom:;
pos:aposition:absolute;b:abottom:auto;
pos:fposition:fixed;lleft:;
ttop:;l:aleft:auto;
t:atop:auto;zz-index:;
rright:;z:az-index:auto;

float

abréviationrésultatabréviationrésultat
fl:nfloat:none;fl:rfloat:right;
fl:l,flfloat:left;

clear

abréviationrésultatabréviationrésultat
clclear:both;cl:rclear:right;
cl:nclear:none;cl:bclear:both;
cl:lclear:left;

display

abréviationrésultatabréviationrésultat
ddisplay:block;d:tbcldisplay:table-column;
d:ndisplay:none;d:tbclgdisplay:table-column-group;
d:bdisplay:block;d:tbhgdisplay:table-header-group;
d:fdisplay:flex;d:tbfgdisplay:table-footer-group;
d:ifdisplay:inline-flex;d:tbrdisplay:table-row;
d:idisplay:inline;d:tbrgdisplay:table-row-group;
d:ibdisplay:inline-block;d:tbcdisplay:table-cell;
d:lidisplay:list-item;d:rbdisplay:ruby;
d:ridisplay:run-in;d:rbbdisplay:ruby-base;
d:cpdisplay:compact;d:rbbgdisplay:ruby-base-group;
d:tbdisplay:table;d:rbtdisplay:ruby-text;
d:itbdisplay:inline-table;d:rbtgdisplay:ruby-text-group;
d:tbcpdisplay:table-caption;

visibility

abréviationrésultatabréviationrésultat
v,v:hvisibility:hidden;v:cvisibility:collapse;
v:vvisibility:visible;

overflow

abréviationrésultatabréviationrésultat
ov,ov:hoverflow:hidden;ovy:voverflow-y:visible;
ov:voverflow:visible;ovy:hoverflow-y:hidden;
ov:soverflow:scroll;ovy:soverflow-y:scroll;
ov:aoverflow:auto;ovy:aoverflow-y:auto;
ovxoverflow-x:hidden;ovsoverflow-style:scrollbar;
ovx:voverflow-x:visible;ovs:aoverflow-style:auto;
ovx:hoverflow-x:hidden;ovs:soverflow-style:scrollbar;
ovx:soverflow-x:scroll;ovs:poverflow-style:panner;
ovx:aoverflow-x:auto;ovs:moverflow-style:move;
ovyoverflow-y:hidden;ovs:mqoverflow-style:marquee;

clip

abréviationrésultatabréviationrésultat
cpclip:;cp:rclip:rect(top right bottom left);
cp:aclip:auto;

resize

abréviationrésultatabréviationrésultat
rszresize:;rsz:hresize:horizontal;
rsz:nresize:none;rsz:vresize:vertical;
rsz:bresize:both;

zoom

abbreviationrésultat
zoo, zmzoom:1;

Flex

abréviationrésultatabréviationrésultat
fxflex:;fxw:wflex-wrap:wrap;
fxbflex-basis:;fxw:wrflex-wrap:wrap-reverse;
fxdflex-direction:;jcjustify-content:;
fxd:cflex-direction:column;jc:cjustify-content:center;
fxd:crflex-direction:column-reverse;jc:fejustify-content:flex-end;
fxd:rflex-direction:row;jc:fsjustify-content:flex-start;
fxd:rrflex-direction:row-reverse;jc:sajustify-content:space-around;
fxfflex-flow:;jc:sbjustify-content:space-between;
fxgflex-grow:;ordorder:;
fxshflex-shrink:;oriorientation:;
fxwflex-wrap: ;ori:lorientation:landscape;
fxw:nflex-wrap:nowrap;ori:porientation:portrait;

align-self

abréviationrésultatabréviationrésultat
apappearance:${none};as:fsalign-self:flex-start;
asalign-self:;as:salign-self:stretch;
as:aalign-self:auto;bfvbackface-visibility:;
as:balign-self:baseline;bfv:hbackface-visibility:hidden;
as:calign-self:center;bfv:vbackface-visibility:visible;
as:fealign-self:flex-end;
Cet article a été publié sous la catégorie tutos. Enregistrer cet article permalink.