aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/tools
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2021-02-25 08:31:36 -0500
committerPeter Bengtsson <mail@peterbe.com>2021-02-25 08:31:36 -0500
commit97065b2e68dd8768dc1ea092c893c57ebe205026 (patch)
tree11bf4a1114c543989c24c7a801ba379b2c20a30c /files/zh-cn/tools
parentd1794f6b276285489b417053507f432a14be31df (diff)
downloadtranslated-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/tools')
-rw-r--r--files/zh-cn/tools/page_inspector/how_to/work_with_animations/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/tools/page_inspector/how_to/work_with_animations/index.html b/files/zh-cn/tools/page_inspector/how_to/work_with_animations/index.html
index 8a957c3596..bf345080ca 100644
--- a/files/zh-cn/tools/page_inspector/how_to/work_with_animations/index.html
+++ b/files/zh-cn/tools/page_inspector/how_to/work_with_animations/index.html
@@ -107,12 +107,12 @@ translation_of: Tools/Page_Inspector/How_to/Work_with_animations
<li>The <code>img#icon</code> animation:
<ul>
<li>animated the <code><a href="/en-US/docs/Web/CSS/filter">filter</a></code> and <code><a href="/en-US/docs/Web/CSS/transform">transform</a></code> properties, to scale the icon and color it</li>
- <li><span style="display: none;"> </span><span style="display: none;"> </span> lasted 750ms, had an <code>endDelay</code> of 100ms</li>
+ <li><span class="hidden"> </span><span class="hidden"> </span> lasted 750ms, had an <code>endDelay</code> of 100ms</li>
<li>used the compositor thread</li>
<li>was given an <code><a href="/en-US/docs/Web/API/AnimationEffectTimingProperties/easing">easing</a></code> value of <code>ease-in</code>: you can see this by the concave shape of the green bar.</li>
</ul>
</li>
- <li><span style="display: none;"> </span><span style="display: none;"> </span>The <code>span#note</code> animation:
+ <li><span class="hidden"> </span><span class="hidden"> </span>The <code>span#note</code> animation:
<ul>
<li>animated the <code><a href="/en-US/docs/Web/CSS/width">width</a></code> and <code><a href="/en-US/docs/Web/CSS/opacity">opacity</a></code> properties, to make the name gradually appear</li>
<li>lasted 500ms, and had a <code>delay</code> of 150ms</li>