aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/css/offset-position/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/offset-position/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/offset-position/index.html')
-rw-r--r--files/fr/web/css/offset-position/index.html103
1 files changed, 0 insertions, 103 deletions
diff --git a/files/fr/web/css/offset-position/index.html b/files/fr/web/css/offset-position/index.html
deleted file mode 100644
index a73e9d4b41..0000000000
--- a/files/fr/web/css/offset-position/index.html
+++ /dev/null
@@ -1,103 +0,0 @@
----
-title: offset-position
-slug: Web/CSS/offset-position
-translation_of: Web/CSS/offset-position
----
-<div>{{CSSRef}}{{seecompattable}}</div>
-
-<p>La propriété <a href="/fr/docs/Web/CSS">CSS</a> <strong><code>offset-position</code></strong> définit la <a href="https://www.w3.org/TR/motion-1/#valdef-offsetpath-initial-position">position initiale</a> de {{cssxref("offset-path")}}.</p>
-
-<h2 id="Syntax">Syntax</h2>
-
-<pre class="brush: css no-line-numbers">/* Valeurs de mots clefs */
-offset-position: auto;
-offset-position: top;
-offset-position: bottom;
-offset-position: left;
-offset-position: right;
-offset-position: center;
-
-/* Valeurs de &lt;pourcentage&gt; */
-offset-position: 25% 75%;
-
-/* Valeurs de &lt;longueur&gt; */
-offset-position: 0 0;
-offset-position: 1cm 2cm;
-offset-position: 10ch 8em;
-
-/* Valeurs d'écart d'un bord */
-offset-position: bottom 10px right 20px;
-offset-position: right 3em bottom 10px;
-offset-position: bottom 10px right;
-offset-position: top right 10px;
-
-/* Valeurs globales */
-offset-position: inherit;
-offset-position: initial;
-offset-position: unset;
-</pre>
-
-<h3 id="Values">Values</h3>
-
-<dl>
- <dt><code>auto</code></dt>
- <dd>La position initiale est la position de la boîte spécifiée par la propriété {{cssxref("position")}}.</dd>
- <dt><code>&lt;position&gt;</code></dt>
- <dd>Une {{cssxref("&lt;position&gt;")}}. Une position définit des coordonnées x/y pour positionner un élément de façon relative aux bords de la boîte de cet élément. Elles peuvent être définies en utilisant une à quatre valeurs. Si deux valeurs qui ne sont pas des mots clefs sont utilisées, la première valeur représente la position horizontale et la seconde représente la position verticale. Si seulement une valeur est définie, la seconde est considérée comme <code>center</code>. Si trois ou quatre valeurs sont utilisées, les valeurs en pourcentage sont des écarts du mot clef qui les précéde. Pour plus d'explications sur ces types de valeur, consultez {{cssxref("background-position")}}.</dd>
-</dl>
-
-<h2 id="Définition_formelle">Définition formelle</h2>
-
-<p>{{cssinfo}}</p>
-
-<h2 id="Syntax_formelle">Syntax formelle</h2>
-
-{{csssyntax}}
-
-<h2 id="Exemples">Exemples</h2>
-
-<h3 id="Définir_la_valeur_initiale_de_offset-position">Définir la valeur initiale de offset-position</h3>
-
-<pre class="brush: html">&lt;div id="motion-demo"&gt;&lt;/div&gt;
-</pre>
-
-<pre class="brush: css">#motion-demo {
- offset-path: path('M20,20 C20,100 200,0 200,100');
- offset-position: left top;
- animation: move 3000ms infinite alternate ease-in-out;
- width: 40px;
- height: 40px;
- background: cyan;
-}
-
-@keyframes move {
- 0% {
- offset-distance: 0%;
- }
- 100% {
- offset-distance: 100%;
- }
-}</pre>
-
-<h2 id="Spécifications">Spécifications</h2>
-
-<table class="standard-table">
- <thead>
- <tr>
- <th>Spécification</th>
- <th>Statut</th>
- <th>Commentaire</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{SpecName('Motion Path Level 1', '#offset-position-property', 'offset-position')}}</td>
- <td>{{Spec2('Motion Path Level 1')}}</td>
- <td>Définition initiale</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Compatibilité_de_navigateur">Compatibilité de navigateur</h2>
-
-<p>{{Compat("css.properties.offset-position")}}</p>