From 97065b2e68dd8768dc1ea092c893c57ebe205026 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Thu, 25 Feb 2021 08:31:36 -0500 Subject: use class="hidden" not style="display:none" --- files/zh-cn/web/api/canvasrenderingcontext2d/rect/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files/zh-cn/web/api/canvasrenderingcontext2d/rect') diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/rect/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/rect/index.html index 4053d0f387..f34e1b54ad 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/rect/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/rect/index.html @@ -46,7 +46,7 @@ ctx.fill();

修改下面的代码并在线查看 canvas 的变化:

-
+