diff options
Diffstat (limited to 'files/fr/web/api/canvasrenderingcontext2d/drawimage/index.html')
-rw-r--r-- | files/fr/web/api/canvasrenderingcontext2d/drawimage/index.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/files/fr/web/api/canvasrenderingcontext2d/drawimage/index.html b/files/fr/web/api/canvasrenderingcontext2d/drawimage/index.html index 1d217a65b7..9355533e78 100644 --- a/files/fr/web/api/canvasrenderingcontext2d/drawimage/index.html +++ b/files/fr/web/api/canvasrenderingcontext2d/drawimage/index.html @@ -65,7 +65,6 @@ void <var><em>ctx</em>.drawImage(image, sx, sy, sLargeur, sHauteur, dx, dy, dLar <h4 id="HTML">HTML</h4> <pre class="brush: html"><canvas id="canvas"></canvas> -<div style="display:none;"> <img id="source" src="https://mdn.mozillademos.org/files/5397/rhino.jpg" width="300" height="227"> </div> @@ -82,11 +81,10 @@ ctx.drawImage(image, 33, 71, 104, 124, 21, 20, 87, 104); <p>Éditez le code suivant pour voir les changements en direct dans la balise canvas:</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code">Playable code</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> -<div style="display:none;"> <img id="source" src="https://mdn.mozillademos.org/files/5397/rhino.jpg" width="300" height="227"> </div> <div class="playable-buttons"> |