aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/css/transform-function/skew()/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/fr/web/css/transform-function/skew()/index.html')
-rw-r--r--files/fr/web/css/transform-function/skew()/index.html137
1 files changed, 0 insertions, 137 deletions
diff --git a/files/fr/web/css/transform-function/skew()/index.html b/files/fr/web/css/transform-function/skew()/index.html
deleted file mode 100644
index 12d228ec71..0000000000
--- a/files/fr/web/css/transform-function/skew()/index.html
+++ /dev/null
@@ -1,137 +0,0 @@
----
-title: skew()
-slug: Web/CSS/transform-function/skew()
-tags:
- - CSS
- - Fonction
- - Reference
- - Transformations CSS
-translation_of: Web/CSS/transform-function/skew()
----
-<div>{{CSSRef}}</div>
-
-<p>La fonction <strong><code>skew()</code></strong> permet d'opérer une distorsion en étirant chaque point de l'élément d'un certain angle dans une direction du plan. Pour cela, on augmente l'ordonnée d'un élément d'une valeur proportionnelle à l'angle donné et à la distance de l'origine. Plus le point est éloigné de l'origine, plus le décalage obtenu sera important.</p>
-
-<div>{{EmbedInteractiveExample("pages/css/function-skew.html")}}</div>
-
-<p>La valeur obtenue par cette fonction est de type {{cssxref("&lt;transform-function&gt;")}}.</p>
-
-<h2 id="Syntaxe">Syntaxe</h2>
-
-<pre class="syntaxbox">skew(<em>ax</em>)
-skew(<em>ax</em>, <em>ay</em>)
-</pre>
-
-<h3 id="Valeurs">Valeurs</h3>
-
-<dl>
- <dt><code>ax</code></dt>
- <dd>Une valeur de type {{cssxref("&lt;angle&gt;")}} qui représente l'angle avec lequel appliquer la distorsion selon l'axe des abscisses (axe horizontal).</dd>
- <dt><code>ay</code></dt>
- <dd>Une valeur de type {{cssxref("&lt;angle&gt;")}} qui représente l'angle avec lequel appliquer la distorsion selon l'axe des ordonnées (axe vertical).</dd>
-</dl>
-
-<table class="standard-table">
- <thead>
- <tr>
- <th scope="col">Coordonnées cartésiennes sur ℝ<sup>2</sup></th>
- <th scope="col">Coordonnées homogènes sur ℝℙ<sup>2</sup></th>
- <th scope="col">Coordonnées cartésiennes sur ℝ<sup>3</sup></th>
- <th scope="col">Coordonnées homogènes sur ℝℙ<sup>3</sup></th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td colspan="1" rowspan="2"><math> <mfenced><mtable><mtr>1<mtd>tan(ax)</mtd></mtr><mtr>tan(ay)<mtd>1</mtd></mtr></mtable> </mfenced> </math></td>
- <td><math> <mfenced><mtable><mtr>1<mtd>tan(ax)</mtd><mtd>0</mtd></mtr><mtr>tan(ay)<mtd>1</mtd><mtd>0</mtd></mtr><mtr><mtd>0</mtd><mtd>0</mtd><mtd>1</mtd></mtr><mtr></mtr></mtable> </mfenced> </math></td>
- <td colspan="1" rowspan="2"><math> <mfenced><mtable><mtr>1<mtd>tan(ax)</mtd><mtd>0</mtd></mtr><mtr>tan(ay)<mtd>1</mtd><mtd>0</mtd></mtr><mtr><mtd>0</mtd><mtd>0</mtd><mtd>1</mtd></mtr></mtable> </mfenced> </math></td>
- <td colspan="1" rowspan="2"><math> <mfenced><mtable><mtr>1<mtd>tan(ax)</mtd><mtd>0</mtd><mtd>0</mtd></mtr><mtr>tan(ay)<mtd>1</mtd><mtd>0</mtd><mtd>0</mtd></mtr><mtr><mtd>0</mtd><mtd>0</mtd><mtd>1</mtd><mtd>0</mtd></mtr><mtr><mtd>0</mtd><mtd>0</mtd><mtd>0</mtd><mtd>1</mtd></mtr></mtable> </mfenced> </math></td>
- </tr>
- <tr>
- <td><code>[1 tan(ay) tan(ax) 1 0 0]</code></td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Exemples">Exemples</h2>
-
-<h3 id="Utiliser_une_distorsion_horizontale">Utiliser une distorsion horizontale</h3>
-
-<h4 id="HTML">HTML</h4>
-
-<pre class="brush: html">&lt;p&gt;toto&lt;/p&gt;
-&lt;p class="transformation"&gt;truc&lt;/p&gt;</pre>
-
-<h4 id="CSS">CSS</h4>
-
-<pre class="brush: css">p {
- width: 50px;
- height: 50px;
- background-color: teal;
-}
-
-.transformation {
- /* the same as skewX(10deg); */
- transform: skew(10deg);
- background-color: blue;
-}
-</pre>
-
-<h4 id="Résultat">Résultat</h4>
-
-<p>{{EmbedLiveSample("Utiliser_une_distorsion_horizontale","100%","200")}}</p>
-
-<h3 id="Utiliser_deux_angles">Utiliser deux angles</h3>
-
-<h4 id="HTML_2">HTML</h4>
-
-<pre class="brush: html">&lt;p&gt;toto&lt;/p&gt;
-&lt;p class="transformation"&gt;truc&lt;/p&gt;</pre>
-
-<h4 id="CSS_2">CSS</h4>
-
-<pre class="brush: css">p {
- width: 50px;
- height: 50px;
- background-color: teal;
-}
-
-.transformation {
- transform: skew(10deg, 10deg);
- background-color: blue;
-}
-</pre>
-
-<h4 id="Résultat_2">Résultat</h4>
-
-<p>{{EmbedLiveSample("Utiliser_deux_angles","100%","200")}}</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("CSS3 Transforms", "#funcdef-transform-skew", "skew()")}}</td>
- <td>{{Spec2("CSS3 Transforms")}}</td>
- <td>Définition initiale.</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2>
-
-<p>Voir la page sur le type de donnée <code><a href="/fr/docs/Web/CSS/transform-function#compatibilité_des_navigateurs">&lt;transform-function&gt;</a></code> pour les informations de compatibilité associées.</p>
-
-<h2 id="Voir_aussi">Voir aussi</h2>
-
-<ul>
- <li>{{cssxref("transform")}}</li>
- <li>{{cssxref("&lt;transform-function&gt;")}}</li>
-</ul>