From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/fr/web/css/text-emphasis-color/index.html | 97 +++++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 files/fr/web/css/text-emphasis-color/index.html (limited to 'files/fr/web/css/text-emphasis-color') diff --git a/files/fr/web/css/text-emphasis-color/index.html b/files/fr/web/css/text-emphasis-color/index.html new file mode 100644 index 0000000000..5b6f24d086 --- /dev/null +++ b/files/fr/web/css/text-emphasis-color/index.html @@ -0,0 +1,97 @@ +--- +title: text-emphasis-color +slug: Web/CSS/text-emphasis-color +tags: + - CSS + - Propriété + - Reference +translation_of: Web/CSS/text-emphasis-color +--- +
{{CSSRef}}
+ +

La propriété text-emphasis-color définit la couleur utilisée pour dessiner les marques d'emphase. Celle-ci peut être (re)définie grâce à la propriété raccourcie {{cssxref("text-emphasis")}}.

+ +
/* Valeur initiale */
+text-emphasis-color: currentColor;
+
+/* Valeur de couleur */
+/* Type <color> */
+text-emphasis-color: #555;
+text-emphasis-color: blue;
+text-emphasis-color: rgba(90, 200, 160, 0.8);
+text-emphasis-color: transparent;
+
+/* Valeurs globales */
+text-emphasis-color: inherit;
+text-emphasis-color: initial;
+text-emphasis-color: unset;
+
+ +

Syntaxe

+ +

Valeurs

+ +
+
<color>
+
Définit la couleur utilisée pour les marques. Si on ne définit pas de couleur, ce sera la couleur courante du texte qui sera utilisée.
+
+ +

Syntaxe formelle

+ +
{{csssyntax}}
+
+ +

Exemples

+ +

HTML

+ +
<p><em>Coucou</em>, je suis <em>là</em></p>
+ +

CSS

+ +
em {
+  text-emphasis-style: sesame;
+  text-emphasis-color: blue;
+}
+ +

Résultat

+ +

{{EmbedLiveSample("Exemples")}}

+ +

Spécifications

+ + + + + + + + + + + + + + + + +
SpécificationÉtatCommentaires
{{SpecName('CSS3 Text Decoration', '#text-emphasis-color-property', 'text-emphasis')}}{{Spec2('CSS3 Text Decoration')}}Définition initiale.
+ +

{{cssinfo}}

+ +

Compatibilité des navigateurs

+ + + +

{{Compat("css.properties.text-emphasis-color")}}

+ +

Voir aussi

+ + -- cgit v1.2.3-54-g00ecf