╱🚧 under construction -> flow/writing direction
Last updated 3 months ago
Was this helpful?
CSS ⟩ layout ⟩ display ⟩ inline-block
inline-block:
inline-block
排版方式像 inline 元素(由左至右、由上到下)。
inline
但像 block 元素可設定 width, height。
block
width
height
內建 inline-block 元素:img, button, select, input, textarea。
img
button
select
input
textarea
block elements are like paragraphs, and inline elements are like words.
Every Layout (2021)