2022-05-25から1日間の記事一覧
CSSのcounter-increment要素を使って見出し(h1、h2、h3...)に自動で連番を付すときの注意点。 :before疑似要素を利用して自動でやってもらおうと h2:before{ counter-reset: subsection; counter-increment: section; content: "第"counter(section)"節 ";…
CSSのcounter-increment要素を使って見出し(h1、h2、h3...)に自動で連番を付すときの注意点。 :before疑似要素を利用して自動でやってもらおうと h2:before{ counter-reset: subsection; counter-increment: section; content: "第"counter(section)"節 ";…