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/path2d | |
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/path2d')
-rw-r--r-- | files/zh-cn/web/api/path2d/addpath/index.html | 2 | ||||
-rw-r--r-- | files/zh-cn/web/api/path2d/path2d/index.html | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/files/zh-cn/web/api/path2d/addpath/index.html b/files/zh-cn/web/api/path2d/addpath/index.html index a19a3ce8cf..656c35342c 100644 --- a/files/zh-cn/web/api/path2d/addpath/index.html +++ b/files/zh-cn/web/api/path2d/addpath/index.html @@ -53,7 +53,7 @@ ctx.fill(p1); <p>修改下面的代码并在线查看 canvas 的变化 (查看浏览器兼容性列表,确定你目前的浏览器是否支持这个方法):</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> diff --git a/files/zh-cn/web/api/path2d/path2d/index.html b/files/zh-cn/web/api/path2d/path2d/index.html index f606aa678d..16a681cedf 100644 --- a/files/zh-cn/web/api/path2d/path2d/index.html +++ b/files/zh-cn/web/api/path2d/path2d/index.html @@ -47,7 +47,7 @@ ctx.stroke(path2); <p>修改下面的代码并在线查看 canvas 的变化:</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> @@ -107,7 +107,7 @@ ctx.fill(p); <p>修改下面的代码并在线查看 canvas 的变化:</p> -<div style="display: none;"> +<div class="hidden"> <h6 id="Playable_code2">Playable code2</h6> <pre class="brush: html"><canvas id="canvas" width="400" height="200" class="playable-canvas"></canvas> |