text-decoration-lineの評価
頻出度
(1.0)
重要度
(1.0)
総合評価
(1.0)
目次
1.text-decoration-lineとは?
text-decoration-lineプロパティは下線や上線など文字に引く傍線の位置を指定します。
値の指定方法は以下の通りです。
{ text-decoration-line: 値; }
値の指定方法
- none
- underline
- overline
- line-through
2.text-decoration-lineの使い方
それではtext-decoration-lineの使い方をみていきましょう。
.underline {
text-decoration-line: underline;
}
上記のようにすることで文字に下線が引かれます。
他にも値を設定できるのでいろいろと試してみることをお勧めします!