Closed aiotter closed 4 years ago
本文 本文
上記のような構成において、本文と見出しの間にスペースがないため読みにくくなっています。 CSSを編集して、本文と見出しの間のパディングを大きくする必要があります。
h2 の margin-top が 1 rem になってるので、2 rem にするとちょうどよくなりそう。
h2 { margin-top: 2rem; font-size: 1.5rem; }
本文 本文
見出し
上記のような構成において、本文と見出しの間にスペースがないため読みにくくなっています。 CSSを編集して、本文と見出しの間のパディングを大きくする必要があります。