aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/css/background-blend-mode
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/ru/web/css/background-blend-mode
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/ru/web/css/background-blend-mode')
-rw-r--r--files/ru/web/css/background-blend-mode/index.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/files/ru/web/css/background-blend-mode/index.html b/files/ru/web/css/background-blend-mode/index.html
index bfcdd98ff3..e55a99aa83 100644
--- a/files/ru/web/css/background-blend-mode/index.html
+++ b/files/ru/web/css/background-blend-mode/index.html
@@ -34,7 +34,6 @@ background-blend-mode: unset;
<h2 id="Examples" name="Examples">Пример</h2>
-<pre class="brush: html" style="display: none;">&lt;div id="div"&gt;&lt;/div&gt;
&lt;select id="select"&gt;
    &lt;option&gt;normal&lt;/option&gt;
    &lt;option&gt;multiply&lt;/option&gt;
@@ -54,14 +53,14 @@ background-blend-mode: unset;
    &lt;option&gt;luminosity&lt;/option&gt;
&lt;/select&gt;</pre>
-<pre class="brush: css" style="display: none;">#div {
+<pre class="brush: css" class="hidden">#div {
    width: 300px;
    height: 300px;
    background: url('https://mdn.mozillademos.org/files/8543/br.png'),url('https://mdn.mozillademos.org/files/8545/tr.png');
    background-blend-mode: screen;
}</pre>
-<pre class="brush: js" style="display: none;">document.getElementById("select").onchange = function(event) {
+<pre class="brush: js" class="hidden">document.getElementById("select").onchange = function(event) {
    document.getElementById("div").style.backgroundBlendMode = document.getElementById("select").selectedOptions[0].innerHTML;
}
console.log(document.getElementById('div'));</pre>