text-emphasis-colorの評価
頻出度
(1.0)
重要度
(1.0)
総合評価
(1.0)
目次
1.text-emphasis-colorとは?
text-emphasis-colorプロパティは文字に付ける傍線のスタイルと形を指定します。
値の指定方法は以下の通りです。
{ text-emphasis-color: 値; }
値の指定方法
- none
- filled
- open
- 任意の文字
- dot
- circle
- double-circle
- triangle
- sesame
2.text-emphasis-colorの使い方
それではtext-emphasis-colorの使い方をみていきましょう。
.line {
text-emphasis-style: sesame;
text-emphasis-color: red;
}
上記のようにすることでゴマの形の赤色傍点が表示されます。
他にも値を設定できるのでいろいろと試してみることをお勧めします!