element floats, display
is block
. If the width and height are not set, the width of block-level elements will shrink, which behaves more like inline block elements.
so why does display
show block
instead of inline-block
after floating?