diff options
Diffstat (limited to 'files/ru/web/css/justify-content/index.html')
-rw-r--r-- | files/ru/web/css/justify-content/index.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/files/ru/web/css/justify-content/index.html b/files/ru/web/css/justify-content/index.html index 13a30495e0..57c5dbc398 100644 --- a/files/ru/web/css/justify-content/index.html +++ b/files/ru/web/css/justify-content/index.html @@ -18,7 +18,7 @@ translation_of: Web/CSS/justify-content <h2 id="Синтаксис">Синтаксис</h2> -<pre class="brush:css no-line-numbers notranslate">/* Позиционное выравнивание */ +<pre class="brush:css no-line-numbers">/* Позиционное выравнивание */ justify-content: center; /* Выравнивание элементов по центру */ justify-content: start; /* Выравнивание элементов в начале */ justify-content: end; /* Выравнивание элементов в конце */ @@ -109,7 +109,7 @@ justify-content: unset; <h3 id="CSS">CSS</h3> -<pre class="brush: css notranslate">#container { +<pre class="brush: css">#container { display: flex; justify-content: space-between; /* Может быть изменено */ } @@ -124,7 +124,7 @@ justify-content: unset; <div class="hidden"> <h3 id="HTML">HTML</h3> -<pre class="brush: html notranslate"><div id="container"> +<pre class="brush: html"><div id="container"> <div></div> <div></div> <div></div> @@ -148,7 +148,7 @@ justify-content: unset; <h3 id="JavaScript">JavaScript</h3> -<pre class="brush: js notranslate">var justifyContent = document.getElementById("justifyContent"); +<pre class="brush: js">var justifyContent = document.getElementById("justifyContent"); justifyContent.addEventListener("change", function (evt) { document.getElementById("container").style.justifyContent = evt.target.value; |