text-indent
1行目の字下げ
text-indent: 値;
1行目の字下げ幅を指定するプロパティです。
text-indent: 1em;
プロパティ名 | 値 | 説明 |
---|---|---|
text-indent | 長さ、% | 数値+単位(em 等)またはパーセント (初期値は 0) |
- 「%」の指定は、親ボックスの幅に対する割合となります。
.example {
text-indent: 1em;
}
ジャンル別にさがせるスタイルシートリスト
HTML&CSS Web制作リファレンス
-ホームページ作成を学ぶ・調べる-
text-indent: 値;
1行目の字下げ幅を指定するプロパティです。
text-indent: 1em;
プロパティ名 | 値 | 説明 |
---|---|---|
text-indent | 長さ、% | 数値+単位(em 等)またはパーセント (初期値は 0) |
.example {
text-indent: 1em;
}