aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/css/font
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/web/css/font
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/web/css/font')
-rw-r--r--files/zh-cn/web/css/font/index.html11
1 files changed, 5 insertions, 6 deletions
diff --git a/files/zh-cn/web/css/font/index.html b/files/zh-cn/web/css/font/index.html
index 6a5b733707..a8464557d8 100644
--- a/files/zh-cn/web/css/font/index.html
+++ b/files/zh-cn/web/css/font/index.html
@@ -109,9 +109,8 @@ translation_of: Web/CSS/font
<h3 id="live_sample" name="live_sample">实样</h3>
-<p id="HTML_Content" style="display: none;">HTML Content</p>
+<p id="HTML_Content" class="hidden">HTML Content</p>
-<pre class="brush: html" style="display: none;">&lt;p&gt;
    Change the radio buttons below to see the generated shorthand and it's effect.
&lt;/p&gt;
&lt;form action="createShortHand()"&gt;
@@ -203,9 +202,9 @@ translation_of: Web/CSS/font
&lt;/div&gt;
</pre>
-<p id="CSS_Content" style="display: none;">CSS Content</p>
+<p id="CSS_Content" class="hidden">CSS Content</p>
-<pre class="brush: css" style="display: none;">body, input {
+<pre class="brush: css" class="hidden">body, input {
font: 14px arial;
}
@@ -252,9 +251,9 @@ translation_of: Web/CSS/font
text-align: right;
}</pre>
-<p id="JavaScript_Content" style="display: none;">JavaScript Content</p>
+<p id="JavaScript_Content" class="hidden">JavaScript Content</p>
-<pre class="brush: js" style="display: none;">var textAreas = document.getElementsByClassName("curCss"),
+<pre class="brush: js" class="hidden">var textAreas = document.getElementsByClassName("curCss"),
    shortText = "",
    getCheckedValue,
    setCss,