aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/web/api/canvasrenderingcontext2d
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2021-02-25 08:31:36 -0500
committerPeter Bengtsson <mail@peterbe.com>2021-02-25 08:31:36 -0500
commit97065b2e68dd8768dc1ea092c893c57ebe205026 (patch)
tree11bf4a1114c543989c24c7a801ba379b2c20a30c /files/zh-tw/web/api/canvasrenderingcontext2d
parentd1794f6b276285489b417053507f432a14be31df (diff)
downloadtranslated-content-97065b2e68dd8768dc1ea092c893c57ebe205026.tar.gz
translated-content-97065b2e68dd8768dc1ea092c893c57ebe205026.tar.bz2
translated-content-97065b2e68dd8768dc1ea092c893c57ebe205026.zip
use class="hidden" not style="display:none"
Diffstat (limited to 'files/zh-tw/web/api/canvasrenderingcontext2d')
-rw-r--r--files/zh-tw/web/api/canvasrenderingcontext2d/clearrect/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-tw/web/api/canvasrenderingcontext2d/clearrect/index.html b/files/zh-tw/web/api/canvasrenderingcontext2d/clearrect/index.html
index e5792ffade..c6f1baaaa8 100644
--- a/files/zh-tw/web/api/canvasrenderingcontext2d/clearrect/index.html
+++ b/files/zh-tw/web/api/canvasrenderingcontext2d/clearrect/index.html
@@ -60,7 +60,7 @@ ctx.clearRect(10, 10, 100, 100);
<p>Edit the code below and see your changes update live in the canvas:</p>
-<div style="display: none;">
+<div class="hidden">
<h6 id="Playable_code">Playable code</h6>
<pre class="brush: html">&lt;canvas id="canvas" width="400" height="200" class="playable-canvas"&gt;&lt;/canvas&gt;