CSS

Sets top and bottom margins according to writing direction.

margin-block

margin-blockは、上と下の余白(マージン)を一括で設定するプロパティです。縦書きや横書きなど、文章の方向に合わせて上下を自動的に認識するため、多言語対応にも便利です。

たとえば、

CSS

margin-block: 10px 20px;

とすると、上に10px、下に20pxの余白ができます。