CSS Display

display:inline is converted into an inline element without line break; display: block is converted into a block element with line break;

display: inline-block inline block elements, that is, without wrapping, you can use the properties of block elements, similar to the floating effect of block elements, but lower version browsers do not support this.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324964103&siteId=291194637