--- title: text-emphasis-style slug: Web/CSS/text-emphasis-style tags: - CSS - CSS テキスト装飾 - CSS プロパティ - Reference - text-emphasis translation_of: Web/CSS/text-emphasis-style ---
CSS の text-emphasis-style プロパティは、圏点の表示を設定します。設定や解除に一括指定の {{cssxref("text-emphasis")}} を使用することもできます。
/* 初期値 */ text-emphasis-style: none; /* 圏点なし */ /* <string> 値 */ text-emphasis-style: 'x'; text-emphasis-style: '点'; text-emphasis-style: '\25B2'; text-emphasis-style: '*'; text-emphasis-style: 'foo'; /* 使用するべきではない。計算されるか 'f' のみが表示される */ /* キーワード値 */ text-emphasis-style: filled; text-emphasis-style: open; text-emphasis-style: dot; text-emphasis-style: circle; text-emphasis-style: double-circle; text-emphasis-style: triangle; text-emphasis-style: filled sesame; text-emphasis-style: open sesame; /* グローバル値 */ text-emphasis-style: inherit; text-emphasis-style: initial; text-emphasis-style: unset;
{{cssinfo}}
nonefilledfilled も open も指定されない場合は、これが既定値です。opendot'•' (U+2022)、 open dot は '◦' (U+25E6) です。circle'●' (U+25CF)、 open circle は '○' (U+25CB) です。double-circle'◉' (U+25C9)、 open double-circle は '◎' (U+25CE) です。triangle'▲' (U+25B2)、 open triangle は '△' (U+25B3) です。sesame'﹅' (U+FE45)、 open sesame は '﹆' (U+FE46) です。<string><string> には1文字を超える文字列を指定しないでください。ユーザーエージェントは、1つより多い書記素クラスターから構成される文字列を短縮したり無視したりする可能性があります。{{csssyntax}}
h2 {
text-emphasis-style: sesame;
}
| 仕様書 | 状態 | 備考 |
|---|---|---|
| {{SpecName('CSS3 Text Decoration', '#text-emphasis-style-property', 'text-emphasis')}} | {{Spec2('CSS3 Text Decoration')}} | 初回定義 |
{{Compat("css.properties.text-emphasis-color")}}