diff options
author | Peter Bengtsson <mail@peterbe.com> | 2021-02-25 08:31:36 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2021-02-25 08:31:36 -0500 |
commit | 97065b2e68dd8768dc1ea092c893c57ebe205026 (patch) | |
tree | 11bf4a1114c543989c24c7a801ba379b2c20a30c /files/zh-cn/web/api/canvasrenderingcontext2d/ispointinpath/index.html | |
parent | d1794f6b276285489b417053507f432a14be31df (diff) | |
download | translated-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-cn/web/api/canvasrenderingcontext2d/ispointinpath/index.html')
-rw-r--r-- | files/zh-cn/web/api/canvasrenderingcontext2d/ispointinpath/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/ispointinpath/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/ispointinpath/index.html index bd95a9038a..aa8ad34a6e 100644 --- a/files/zh-cn/web/api/canvasrenderingcontext2d/ispointinpath/index.html +++ b/files/zh-cn/web/api/canvasrenderingcontext2d/ispointinpath/index.html @@ -65,7 +65,7 @@ console.log(ctx.isPointInPath(10, 10)); // true <p>修改下面的代码, 在线查看 canvas的变化并在你的 <a href="/en-US/docs/Tools/Browser_Console">控制台</a> 中观察日志信息:</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> |