aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/canvasrenderingcontext2d/scrollpathintoview/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/canvasrenderingcontext2d/scrollpathintoview/index.html')
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/scrollpathintoview/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/scrollpathintoview/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/scrollpathintoview/index.html
index 222fb61aa0..b2edfdbe08 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/scrollpathintoview/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/scrollpathintoview/index.html
@@ -43,7 +43,7 @@ ctx.scrollPathIntoView();
<p>修改下面的代码并在线查看 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;