text-transform
大文字と小文字の変換
text-transform: 値;
大文字と小文字の変換を指定するプロパティです。
text-transform: capitalize;
プロパティ名 | 値 | 説明 |
---|---|---|
text-transform | none | 変換しない (初期値) |
capitalize | 単語の先頭文字を大文字に変換 | |
uppercase | 全ての文字を大文字に変換 | |
lowercase | 全ての文字を小文字に変換 |
.example {
text-transform: uppercase;
}