aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/css/text-underline-offset/index.html
diff options
context:
space:
mode:
authorjulieng <julien.gattelier@gmail.com>2021-09-17 20:58:15 +0200
committerSphinxKnight <SphinxKnight@users.noreply.github.com>2021-10-12 07:57:33 +0200
commit149319bb8c7b1394a443f0877c3460cd362aa815 (patch)
treed534abb0cbc87d5e224836e9d6b888aa58564aa0 /files/fr/web/css/text-underline-offset/index.html
parenteb9de0363cb273b54d3f5402bbf4e3bc03c60971 (diff)
downloadtranslated-content-149319bb8c7b1394a443f0877c3460cd362aa815.tar.gz
translated-content-149319bb8c7b1394a443f0877c3460cd362aa815.tar.bz2
translated-content-149319bb8c7b1394a443f0877c3460cd362aa815.zip
move *.html to *.md
Diffstat (limited to 'files/fr/web/css/text-underline-offset/index.html')
-rw-r--r--files/fr/web/css/text-underline-offset/index.html108
1 files changed, 0 insertions, 108 deletions
diff --git a/files/fr/web/css/text-underline-offset/index.html b/files/fr/web/css/text-underline-offset/index.html
deleted file mode 100644
index 332cc62d99..0000000000
--- a/files/fr/web/css/text-underline-offset/index.html
+++ /dev/null
@@ -1,108 +0,0 @@
----
-title: text-underline-offset
-slug: Web/CSS/text-underline-offset
-tags:
- - CSS
- - Propriété
- - Reference
-translation_of: Web/CSS/text-underline-offset
----
-<div>{{CSSRef}}</div>
-
-<p>La propriété CSS <strong><code>text-underline-offset</code></strong> définit le décalage de la ligne de décoration du texte par rapport à sa position originale.</p>
-
-<div>{{EmbedInteractiveExample("pages/css/text-underline-offset.html")}}</div>
-
-<div class="note">
-<p><strong>Note :</strong> <code>text-underline-offset</code> n'est pas une propriété détaillée de {{cssxref('text-decoration')}}. Bien qu'un élément puisse avoir plusieurs lignes décoratives, <code>text-underline-offset</code> n'aura qu'un impact sur le soulignage (et pas sur les autres lignes telles que celles fournies par {{cssxref('text-decoration-line')}} avec <code>overline</code> ou <code>line-through</code>).</p>
-</div>
-
-<h2 id="Syntaxe">Syntaxe</h2>
-
-<pre class="brush:css no-line-numbers">/* Valeur simple */
-text-underline-offset: none;
-text-underline-offset: from-font;
-text-underline-offset: 0.2em;
-
-/* Valeurs globales */
-text-underline-offset: inherit;
-text-underline-offset: initial;
-text-underline-offset: unset;
-</pre>
-
-<p>La propriété <code>text-underline-offset</code> est définie avec le mot-clé <code>none</code> ou avec une valeur de la liste suivante.</p>
-
-<h3 id="Valeurs">Valeurs</h3>
-
-<dl>
- <dt><code>auto</code></dt>
- <dd>Le navigateur choisit un décalage approprié pour le soulignage.</dd>
- <dt><code>from-font</code></dt>
- <dd>Si le fichier de fonte inclut des informations quant à un décalage préféré, c'est cette valeur qui sera utilisée. Si le fichier de fonte n'a pas cette information, cette valeur se comportera comme <code>auto</code>.</dd>
- <dt><code>&lt;length&gt;</code></dt>
- <dd>Une longueur (valeur de type {{cssxref("&lt;length&gt;")}}) indiquant le décalage à utiliser. Il est recommandé d'utiliser des <code><a href="/fr/docs/Web/CSS/length#em">em</a></code> comme unité afin que le décalage suive la taille de la police (quand on zoome par exemple).</dd>
-</dl>
-
-<h3 id="Syntaxe_formelle">Syntaxe formelle</h3>
-
-{{csssyntax}}
-
-<h2 id="Exemples">Exemples</h2>
-
-<h3 id="CSS">CSS</h3>
-
-<pre class="brush: css">p {
- text-decoration-line: underline;
- text-decoration-style: wavy;
- text-decoration-color: red;
- text-underline-offset: 1em;
-}
-
-.deuxlignes{
- text-decoration-line: underline overline;
-}</pre>
-
-<h3 id="HTML">HTML</h3>
-
-<pre class="brush: html">&lt;p class="uneligne"&gt;
- Voici un texte souligné avec une ligne ondulée rouge !
-&lt;/p&gt;
-&lt;p class="deuxlignes"&gt;
- Ce texte a une ligne en dessous et une ligne au dessus.
- Seule la ligne du dessous est déplacée.
-&lt;/p&gt;</pre>
-
-<h3 id="Résultat">Résultat</h3>
-
-<p>{{EmbedLiveSample('Exemples', '', '', '')}}</p>
-
-<h2 id="Spécifications">Spécifications</h2>
-
-<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', '#<span class="pl-s">underline-offset</span>', 'text-underline-offset')}}</td>
- <td>{{Spec2('CSS4 Text Decoration')}}</td>
- <td>Définition initiale.</td>
- </tr>
- </tbody>
-</table>
-
-<p>{{cssinfo}}</p>
-
-<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2>
-
-<p>{{Compat("css.properties.text-underline-offset")}}</p>
-
-<h2 id="Voir_aussi">Voir aussi</h2>
-
-<ul>
- <li>{{cssxref("text-decoration")}}</li>
-</ul>