aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/css/text-decoration-skip-ink/index.md
diff options
context:
space:
mode:
Diffstat (limited to 'files/fr/web/css/text-decoration-skip-ink/index.md')
-rw-r--r--files/fr/web/css/text-decoration-skip-ink/index.md72
1 files changed, 31 insertions, 41 deletions
diff --git a/files/fr/web/css/text-decoration-skip-ink/index.md b/files/fr/web/css/text-decoration-skip-ink/index.md
index 1e998a6778..148eb92d32 100644
--- a/files/fr/web/css/text-decoration-skip-ink/index.md
+++ b/files/fr/web/css/text-decoration-skip-ink/index.md
@@ -9,13 +9,14 @@ tags:
- Web
translation_of: Web/CSS/text-decoration-skip-ink
---
-<div>{{CSSRef}}</div>
+{{CSSRef}}
-<p>La propriété CSS <strong><code>text-decoration-skip-ink</code></strong> définit la façon dont la ligne décorative (en dessous ou au dessus du texte) est dessinée lorsqu'elle rencontre <a href="https://fr.wikipedia.org/wiki/Jambage">le jambage</a> ou <a href="https://fr.wikipedia.org/wiki/F%C3%BBt_(typographie)">la hampe</a> d'un caractère (ou glyphe).</p>
+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](https://fr.wikipedia.org/wiki/Jambage) ou [la hampe](<https://fr.wikipedia.org/wiki/F%C3%BBt_(typographie)>) d'un caractère (ou glyphe).
-<h2 id="Syntaxe">Syntaxe</h2>
+## Syntaxe
-<pre class="brush:css no-line-numbers">/* Valeur avec un mot-clé */
+```css
+/* Valeur avec un mot-clé */
text-decoration-skip-ink: none;
text-decoration-skip-ink: auto;
@@ -23,61 +24,50 @@ text-decoration-skip-ink: auto;
text-decoration-skip: inherit;
text-decoration-skip: initial;
text-decoration-skip: unset;
-</pre>
+```
-<h3 id="Valeurs">Valeurs</h3>
+### Valeurs
-<dl>
- <dt><code>none</code></dt>
- <dd>La ligne décorative traverse l'ensemble des glyphes, qu'ils aient un jambage ou une hampe.</dd>
- <dt><code>auto</code></dt>
- <dd>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. <img alt='An example of "text-decoration-skip: ink;".' src="decoration-skip-ink.png"></dd>
-</dl>
+- `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;".](decoration-skip-ink.png)
-<h3 id="Syntaxe_formelle">Syntaxe formelle</h3>
+### Syntaxe formelle
{{csssyntax}}
-<h2 id="Exemples">Exemples</h2>
+## Exemples
-<h3 id="HTML">HTML</h3>
+### HTML
-<pre class="brush: html">&lt;p&gt;Un instant après, Alice était à la poursuite du Lapin dans le terrier…&lt;/p&gt;</pre>
+```html
+<p>Un instant après, Alice était à la poursuite du Lapin dans le terrier…</p>
+```
-<h3 id="CSS">CSS</h3>
+### CSS
-<pre class="brush: css">p {
+```css
+p {
margin: 0;
font-size: 2em;
text-decoration: underline blue;
text-decoration-skip-ink: auto;
-}</pre>
+}
+```
-<h3 id="Résultat">Résultat</h3>
+### Résultat
-<p>{{EmbedLiveSample("Exemples", "100%", 60)}}</p>
+{{EmbedLiveSample("Exemples", "100%", 60)}}
-<h2 id="Spécifications">Spécifications</h2>
+## Spécifications
-<table class="standard-table">
- <thead>
- <tr>
- <th scope="col">Spécification</th>
- <th scope="col">État</th>
- <th scope="col">Commentaires</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{SpecName("CSS4 Text Decoration", "#text-decoration-skip-ink-property", "text-decoration-skip-ink")}}</td>
- <td>{{Spec2("CSS4 Text Decoration")}}</td>
- <td>Définition initiale.</td>
- </tr>
- </tbody>
-</table>
+| Spécification | État | Commentaires |
+| ---------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------- | -------------------- |
+| {{SpecName("CSS4 Text Decoration", "#text-decoration-skip-ink-property", "text-decoration-skip-ink")}} | {{Spec2("CSS4 Text Decoration")}} | Définition initiale. |
-<p>{{cssinfo}}</p>
+{{cssinfo}}
-<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2>
+## Compatibilité des navigateurs
-<p>{{Compat("css.properties.text-decoration-skip-ink")}}</p>
+{{Compat("css.properties.text-decoration-skip-ink")}}