テキスト装飾スタイル。
名前 | text-decoration-style
|
---|---|
値 | solid | double | dotted | dashed | wavy |
初期値 | solid |
適用対象 | すべての要素 |
継承 | されない |
百分率 | 受容しない |
算出値 | 指定されたキーワード |
正準的順序 | 文法に従う |
アニメーション型 | 離散的 |
このプロパティは、要素上に指定されたテキスト装飾により描かれる線(たち)の スタイルを指定する。wavy を除く各種 値の意味は border-*-style プロパティ [CSS-BACKGROUNDS-3] 用の同じ名前の値と同じである。
テキスト装飾のスタイルは、所与の要素から出自しているすべての装飾上で同じに保たれるものとする ― 子孫ボックスに異なるスタイルが指定されたとしても。
solid
<SPAN style="border:1px solid red; text-decoration-line:underline; text-decoration-style:solid; ">テスト</SPAN>¶text-decoration-lineを指定しないとだめだった
double
<SPAN style="border:1px solid red; text-decoration-line:underline; text-decoration-style:double; ">テスト</SPAN>
dotted
<SPAN style="border:1px solid red; text-decoration-line:underline; text-decoration-style:dotted; ">テスト</SPAN>
dashed
<SPAN style="border:1px solid red; text-decoration-line:underline; text-decoration-style:dashed; ">テスト</SPAN>
wavy
<SPAN style="border:1px solid red; text-decoration-line:underline; text-decoration-style:wavy; ">テスト</SPAN>
text-decoration-color、text-decoration-line。text-decoration。text-underline-position。
表示内容: |
表示内容: |