From 374a039b97a11ee7306539d16aaab27fed66b398 Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Wed, 27 Oct 2021 02:20:30 +0300 Subject: [RU] Fix some live samples (#2873) --- files/ru/web/css/clear/index.html | 12 ++++++------ files/ru/web/css/height/index.html | 8 ++++---- files/ru/web/css/used_value/index.html | 8 ++++---- 3 files changed, 14 insertions(+), 14 deletions(-) (limited to 'files/ru/web/css') 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;

Примеры

-

clear: left

+

clear: left

HTML

@@ -109,9 +109,9 @@ p { } -

{{EmbedLiveSample('clear:_left','100%','250')}}

+

{{EmbedLiveSample('clear_left','100%','250')}}

-

clear: right

+

clear: right

HTML

@@ -149,9 +149,9 @@ p { width: 50%; } -

{{EmbedLiveSample('clear:_right','100%','250')}}

+

{{EmbedLiveSample('clear_right','100%','250')}}

-

clear: both

+

clear: both

HTML

@@ -189,7 +189,7 @@ p { width: 45%; } -

{{EmbedLiveSample('clear:_both','100%','300')}}

+

{{EmbedLiveSample('clear_both','100%','300')}}

Характеристики

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;

HTML

-
<div id="taller">Я 50 пикселей в высоту.</div>
+
<div id="taller">Я 50 пикселей в высоту.</div>
 <div id="shorter">Я 25 пикселей в высоту.</div>
 <div id="parent">
   <div id="child">
     Моя высота - половина от высоты родителя.
   </div>
-</div>
+</div>

CSS

-
div {
+
div {
   width: 250px;
   margin-bottom: 5px;
   border: 2px solid blue;
@@ -103,7 +103,7 @@ height: unset;
 #child {
   height: 50%;
   width: 75%;
-}
+}

 

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

HTML

-
<div id="no-width">
+
<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>
+</div>

CSS

-
#no-width {
+
#no-width {
   width: auto;
 }
 
@@ -58,7 +58,7 @@ translation_of: Web/CSS/used_value
 div {
   border: 1px solid red;
   padding: 8px;
-}
+}

JavaScript

-- cgit v1.2.3-54-g00ecf