2020-08-20から1日間の記事一覧
auです。pタグは「text-align: center」で中央寄せできます。しかし、spanタグだとできなかったのでやり方を調べました。 解決法 .top-comment { display: block; margin-right:auto; margin-left:auto; } spanはインライン(ブロック内で構成する要素の1つ)…
auです。pタグは「text-align: center」で中央寄せできます。しかし、spanタグだとできなかったのでやり方を調べました。 解決法 .top-comment { display: block; margin-right:auto; margin-left:auto; } spanはインライン(ブロック内で構成する要素の1つ)…