width
/height
to start fromdisplay
propertyDisplay:none;
(head/style) removes box & subtreeDisplay:contents;
(figure?) removes boxDisplay:list-item;
(li) generates a second ::marker
boxList-style-position
moves ::marker
in or out of primary boxdiv
s when doing layoutlist-item
keyword::marker
boxdisplay
values are set on a container elementinline
or block
)demo:
width
to editableheight
display: block
display
of the element itself…body { display: flex; }
flow
is the default…block
or inline
display: block flow
in modern browsers.flow
or flow-root
flow
or flex
or grid
block
grid
is the same as display: block grid
display
actually doesinline-size
is the heightblock-size
is the widthtop
, right
, bottom
, and left
(fixed in place)block-start
, block-end
, inline-start
, inline-end
margin-right
with margin-inline-end
block
and inline
shorthands for somemargin-block
, padding-inline
, border-block
, etcmargin-inline-end
here0
, the margin-right valueinline
and block
go all the way back to the startem
sizeoverflow: hidden;
to trigger a…hasLayout
in IE)flow-root
or grid
)block
inline-block
nowinline flow-root
justify-*
props apply to the ‘inline’ axisalign-*
props apply to the ‘block’ axissafe
‘clamps’ alignment at the start-direction
and -wrap
(or -flow
)gap
on containeralign-items
on the flexbox containerplace-
or align-
justify-
in relation toplace-content
space-between
| -around
| -evenly
align-content
auto
content size<grow>