diff options
author | Alexey Pyltsyn <lex61rus@gmail.com> | 2021-10-27 02:20:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-27 02:20:30 +0300 |
commit | 374a039b97a11ee7306539d16aaab27fed66b398 (patch) | |
tree | 050af12f891977b565e4c17bff154a7e05bd68d0 /files/ru/web/css | |
parent | df462c4ce3c50450bece6af076e6bc012afeee96 (diff) | |
download | translated-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.html | 12 | ||||
-rw-r--r-- | files/ru/web/css/height/index.html | 8 | ||||
-rw-r--r-- | files/ru/web/css/used_value/index.html | 8 |
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><div id="taller">Я 50 пикселей в высоту.</div> +<pre class="brush: html"><div id="taller">Я 50 пикселей в высоту.</div> <div id="shorter">Я 25 пикселей в высоту.</div> <div id="parent"> <div id="child"> Моя высота - половина от высоты родителя. </div> -</div></code></pre> +</div></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><div id="no-width"> +<pre class="brush: html"><div id="no-width"> <p>No explicit width.</p> <p class="show-used-width">..</p> @@ -38,11 +38,11 @@ translation_of: Web/CSS/used_value <p class="show-used-width">..</p> </div> </div> -</div></code></pre> +</div></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> |