diff options
author | Florian Dieminger <me@fiji-flo.de> | 2021-02-25 14:37:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-25 14:37:47 +0100 |
commit | 8879aacd682787fc20ffe2661733f9cd267c81ce (patch) | |
tree | 11bf4a1114c543989c24c7a801ba379b2c20a30c /files/zh-cn/web/css/font/index.html | |
parent | d1794f6b276285489b417053507f432a14be31df (diff) | |
parent | 97065b2e68dd8768dc1ea092c893c57ebe205026 (diff) | |
download | translated-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/css/font/index.html')
-rw-r--r-- | files/zh-cn/web/css/font/index.html | 11 |
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;"><p> Change the radio buttons below to see the generated shorthand and it's effect. </p> <form action="createShortHand()"> @@ -203,9 +202,9 @@ translation_of: Web/CSS/font </div> </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, |