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

La propriété CSS text-decoration-skip-ink définit la façon dont la ligne décorative (en dessous ou au dessus du texte) est dessinée lorsqu'elle rencontre le jambage ou la hampe d'un caractère (ou glyphe).

+ +

Syntaxe

+ +
/* Valeur avec un mot-clé */
+text-decoration-skip-ink: none;
+text-decoration-skip-ink: auto;
+
+/* Valeurs globales */
+text-decoration-skip: inherit;
+text-decoration-skip: initial;
+text-decoration-skip: unset;
+
+ +

Valeurs

+ +
+
none
+
La ligne décorative traverse l'ensemble des glyphes, qu'ils aient un jambage ou une hampe.
+
auto
+
La valeur par défaut : la ligne (au dessus ou en dessous du texte) est uniquement dessinée de façon à ne pas être proche des jambages ou hampes des glyphes. Autrement dit, la ligne est interrompue à chaque fois qu'elle croise un glyphe.
+
An example of "text-decoration-skip: ink;".
+
+ +

Syntaxe formelle

+ +
{{csssyntax}}
+ +

Exemples

+ +

HTML

+ +
<p>Un instant après, Alice était à la poursuite du Lapin dans le terrier…</p>
+ +

CSS

+ +
p {
+  margin: 0;
+  font-size: 2em;
+  text-decoration: underline blue;
+  text-decoration-skip-ink: auto;
+}
+ +

Résultat

+ +

{{EmbedLiveSample("Exemples", "100%", 60)}}

+ +

Spécifications

+ + + + + + + + + + + + + + + + +
SpécificationÉtatCommentaires
{{SpecName("CSS4 Text Decoration", "#text-decoration-skip-ink-property", "text-decoration-skip-ink")}}{{Spec2("CSS4 Text Decoration")}}Définition initiale.
+ +

{{cssinfo}}

+ +

Compatibilité des navigateurs

+ + + +

{{Compat("css.properties.text-decoration-skip-ink")}}

-- cgit v1.2.3-54-g00ecf