CSS: display each value difference

inline: Inline elements can be more non-block elements together accounted for one line, height and width settings are invalid!

block: block elements on a separate line, can be provided height, width

inline-block: upper bound is, height and width function, the default alignment elements to the bottom, may be used vertical-align: top into the top alignment

inline-table: the table element is used, the default table and consistent performance of block elements, the use of this attribute table above may be such that the same inline-block properties

list-item: the target component can be converted into <ul ... /> list element

Guess you like

Origin blog.csdn.net/QWERTY1994/article/details/92839701