aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/css
diff options
context:
space:
mode:
authorAlexey Pyltsyn <lex61rus@gmail.com>2021-10-27 02:20:30 +0300
committerGitHub <noreply@github.com>2021-10-27 02:20:30 +0300
commit374a039b97a11ee7306539d16aaab27fed66b398 (patch)
tree050af12f891977b565e4c17bff154a7e05bd68d0 /files/ru/web/css
parentdf462c4ce3c50450bece6af076e6bc012afeee96 (diff)
downloadtranslated-content-374a039b97a11ee7306539d16aaab27fed66b398.tar.gz
translated-content-374a039b97a11ee7306539d16aaab27fed66b398.tar.bz2
translated-content-374a039b97a11ee7306539d16aaab27fed66b398.zip
[RU] Fix some live samples (#2873)
Diffstat (limited to 'files/ru/web/css')
-rw-r--r--files/ru/web/css/clear/index.html12
-rw-r--r--files/ru/web/css/height/index.html8
-rw-r--r--files/ru/web/css/used_value/index.html8
3 files changed, 14 insertions, 14 deletions
diff --git a/files/ru/web/css/clear/index.html b/files/ru/web/css/clear/index.html
index fa6205fae1..a77be1be69 100644
--- a/files/ru/web/css/clear/index.html
+++ b/files/ru/web/css/clear/index.html
@@ -70,7 +70,7 @@ clear: unset;
<h2 id="Examples">Примеры</h2>
-<h3 id="clear:_left">clear: left</h3>
+<h3 id="clear_left">clear: left</h3>
<h4 id="HTML">HTML</h4>
@@ -109,9 +109,9 @@ p {
}
</pre>
-<p>{{EmbedLiveSample('clear:_left','100%','250')}}</p>
+<p>{{EmbedLiveSample('clear_left','100%','250')}}</p>
-<h3 id="clear:_right">clear: right</h3>
+<h3 id="clear_right">clear: right</h3>
<h4 id="HTML_2">HTML</h4>
@@ -149,9 +149,9 @@ p {
width: 50%;
}</pre>
-<p>{{EmbedLiveSample('clear:_right','100%','250')}}</p>
+<p>{{EmbedLiveSample('clear_right','100%','250')}}</p>
-<h3 id="clear:_both">clear: both</h3>
+<h3 id="clear_both">clear: both</h3>
<h4 id="HTML_3">HTML</h4>
@@ -189,7 +189,7 @@ p {
width: 45%;
}</pre>
-<p>{{EmbedLiveSample('clear:_both','100%','300')}}</p>
+<p>{{EmbedLiveSample('clear_both','100%','300')}}</p>
<h2 id="Характеристики">Характеристики</h2>
diff --git a/files/ru/web/css/height/index.html b/files/ru/web/css/height/index.html
index 4720acaada..cf011ab019 100644
--- a/files/ru/web/css/height/index.html
+++ b/files/ru/web/css/height/index.html
@@ -72,17 +72,17 @@ height: unset;
<h3 id="HTML">HTML</h3>
-<pre><code>&lt;div id="taller"&gt;Я 50 пикселей в высоту.&lt;/div&gt;
+<pre class="brush: html">&lt;div id="taller"&gt;Я 50 пикселей в высоту.&lt;/div&gt;
&lt;div id="shorter"&gt;Я 25 пикселей в высоту.&lt;/div&gt;
&lt;div id="parent"&gt;
&lt;div id="child"&gt;
Моя высота - половина от высоты родителя.
&lt;/div&gt;
-&lt;/div&gt;</code></pre>
+&lt;/div&gt;</pre>
<h3 id="CSS">CSS</h3>
-<pre><code>div {
+<pre class="brush: css">div {
width: 250px;
margin-bottom: 5px;
border: 2px solid blue;
@@ -103,7 +103,7 @@ height: unset;
#child {
height: 50%;
width: 75%;
-}</code></pre>
+}</pre>
<p> </p>
diff --git a/files/ru/web/css/used_value/index.html b/files/ru/web/css/used_value/index.html
index daab354d6b..941220f9ac 100644
--- a/files/ru/web/css/used_value/index.html
+++ b/files/ru/web/css/used_value/index.html
@@ -25,7 +25,7 @@ translation_of: Web/CSS/used_value
<h3 id="HTML">HTML</h3>
-<pre><code>&lt;div id="no-width"&gt;
+<pre class="brush: html">&lt;div id="no-width"&gt;
&lt;p&gt;No explicit width.&lt;/p&gt;
&lt;p class="show-used-width"&gt;..&lt;/p&gt;
@@ -38,11 +38,11 @@ translation_of: Web/CSS/used_value
&lt;p class="show-used-width"&gt;..&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
-&lt;/div&gt;</code></pre>
+&lt;/div&gt;</pre>
<h3 id="CSS">CSS</h3>
-<pre><code>#no-width {
+<pre class="brush: css">#no-width {
width: auto;
}
@@ -58,7 +58,7 @@ translation_of: Web/CSS/used_value
div {
border: 1px solid red;
padding: 8px;
-}</code></pre>
+}</pre>
<h3 id="JavaScript">JavaScript</h3>