aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/canvasrenderingcontext2d/arc/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/canvasrenderingcontext2d/arc/index.html')
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/arc/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/arc/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/arc/index.html
index 05b8ea3b62..5201304b84 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/arc/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/arc/index.html
@@ -52,7 +52,7 @@ ctx.stroke();
<p>修改下面的代码并在线查看 canvas 的变化:</p>
-<div style="display: none;">
+<div class="hidden">
<h6 id="Playable_code" name="Playable_code">Playable code</h6>
<pre class="brush: html">&lt;canvas id="canvas" width="400" height="200" class="playable-canvas"&gt;&lt;/canvas&gt;
@@ -98,7 +98,7 @@ window.addEventListener("load", drawCanvas);
<p>在此例中,使用 arc() 尽可能地绘制不同的形状。</p>
-<div style="display: none;">
+<div class="hidden">
<h6 id="HTML_2">HTML</h6>
<pre class="brush: html">&lt;canvas id="canvas" width="150" height="200"&gt;&lt;/canvas&gt;