aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/canvasrenderingcontext2d/createlineargradient/index.html
diff options
context:
space:
mode:
authorFlorian Dieminger <me@fiji-flo.de>2021-02-25 14:37:47 +0100
committerGitHub <noreply@github.com>2021-02-25 14:37:47 +0100
commit8879aacd682787fc20ffe2661733f9cd267c81ce (patch)
tree11bf4a1114c543989c24c7a801ba379b2c20a30c /files/zh-cn/web/api/canvasrenderingcontext2d/createlineargradient/index.html
parentd1794f6b276285489b417053507f432a14be31df (diff)
parent97065b2e68dd8768dc1ea092c893c57ebe205026 (diff)
downloadtranslated-content-8879aacd682787fc20ffe2661733f9cd267c81ce.tar.gz
translated-content-8879aacd682787fc20ffe2661733f9cd267c81ce.tar.bz2
translated-content-8879aacd682787fc20ffe2661733f9cd267c81ce.zip
Merge pull request #70 from peterbe/use-classhidden-not-styledisplaynone
use class="hidden" not style="display:none"
Diffstat (limited to 'files/zh-cn/web/api/canvasrenderingcontext2d/createlineargradient/index.html')
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/createlineargradient/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/createlineargradient/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/createlineargradient/index.html
index d7e9536d37..4df64d94c4 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/createlineargradient/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/createlineargradient/index.html
@@ -70,7 +70,7 @@ ctx.fillRect(20, 20, 200, 100);</pre>
<h4 id="结果">结果</h4>
-<div style="display: none;">
+<div class="hidden">
<h6 id="Playable_code">Playable code</h6>
<pre class="brush: html notranslate">&lt;canvas id="canvas" width="400" height="200" class="playable-canvas"&gt;&lt;/canvas&gt;