aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/css/transform-function/translatey()/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/fr/web/css/transform-function/translatey()/index.html')
-rw-r--r--files/fr/web/css/transform-function/translatey()/index.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/files/fr/web/css/transform-function/translatey()/index.html b/files/fr/web/css/transform-function/translatey()/index.html
index 80ae24352c..a6e0d052c0 100644
--- a/files/fr/web/css/transform-function/translatey()/index.html
+++ b/files/fr/web/css/transform-function/translatey()/index.html
@@ -12,13 +12,13 @@ translation_of: Web/CSS/transform-function/translateY()
<p>La fonction <code><strong>translateY()</strong></code> permet de déplacer un élement verticalement sur le plan. Cette transformation est caractérisée par une longueur (type {{cssxref("&lt;length&gt;")}}) qui définit l'amplitude du déplacement. La valeur obtenue par cette fonction est de type {{cssxref("&lt;transform-function&gt;")}}.</p>
-<p><img src="https://mdn.mozillademos.org/files/12125/translateY.png" style="height: 195px; width: 243px;"></p>
+<p><img src="translatey.png"></p>
<p><code>translateY(ty)</code> est une notation raccourcie équivalente à <code>translate(0, ty)</code>.</p>
<h2 id="Syntaxe">Syntaxe</h2>
-<pre class="syntaxbox notranslate">translateY(t)
+<pre class="syntaxbox">translateY(t)
</pre>
<h3 id="Valeurs">Valeurs</h3>
@@ -56,13 +56,13 @@ translation_of: Web/CSS/transform-function/translateY()
<h3 id="HTML">HTML</h3>
-<pre class="brush: html notranslate">&lt;p&gt;toto&lt;/p&gt;
+<pre class="brush: html">&lt;p&gt;toto&lt;/p&gt;
&lt;p class="transformation"&gt;truc&lt;/p&gt;
&lt;p&gt;toto&lt;/p&gt;</pre>
<h3 id="CSS">CSS</h3>
-<pre class="brush: css notranslate">p {
+<pre class="brush: css">p {
width: 50px;
height: 50px;
background-color: teal;
@@ -99,7 +99,7 @@ translation_of: Web/CSS/transform-function/translateY()
<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>
+<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>