aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/css/font/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/css/font/index.html')
-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,