aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/css/shorthand_properties/index.html
diff options
context:
space:
mode:
authorAlexey Pyltsyn <lex61rus@gmail.com>2021-10-20 13:28:52 +0300
committerGitHub <noreply@github.com>2021-10-20 13:28:52 +0300
commit1386fed7d38652d5848d315927e7e23a66cffd13 (patch)
treeeb4b9adfec3f46c77304a1b9461d44357c8164c8 /files/ru/web/css/shorthand_properties/index.html
parentb0f32a46245b1033098a5a9826a7818fa4e65dde (diff)
downloadtranslated-content-1386fed7d38652d5848d315927e7e23a66cffd13.tar.gz
translated-content-1386fed7d38652d5848d315927e7e23a66cffd13.tar.bz2
translated-content-1386fed7d38652d5848d315927e7e23a66cffd13.zip
[RU] Remove `name` attribute from headings (#2788)
Diffstat (limited to 'files/ru/web/css/shorthand_properties/index.html')
-rw-r--r--files/ru/web/css/shorthand_properties/index.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/files/ru/web/css/shorthand_properties/index.html b/files/ru/web/css/shorthand_properties/index.html
index 8f6baf168a..384a96302d 100644
--- a/files/ru/web/css/shorthand_properties/index.html
+++ b/files/ru/web/css/shorthand_properties/index.html
@@ -13,7 +13,7 @@ translation_of: Web/CSS/Shorthand_properties
<p>The CSS specification defines shorthand properties to group the definition of common properties acting on the same theme. For instance, the CSS {{cssxref("background")}} property is a shorthand property that's able to define the values of {{cssxref("background-color")}}, {{cssxref("background-image")}}, {{cssxref("background-repeat")}}, and {{cssxref("background-position")}}. Similarly, the most common font-related properties can be defined using the shorthand {{cssxref("font")}}, and the different margins around a box can be defined using the {{cssxref("margin")}} shorthand.</p>
-<h2 id="Tricky_edge_cases" name="Tricky_edge_cases">Tricky edge cases</h2>
+<h2 id="Tricky_edge_cases">Tricky edge cases</h2>
<p>Even if they are very convenient to use, there are a few edge cases to keep in mind when using them:</p>
@@ -79,7 +79,7 @@ background: url(images/bg.gif) no-repeat left top;
</li>
</ol>
-<h2 id="Background_Properties" name="Background_Properties">Background properties</h2>
+<h2 id="Background_Properties">Background properties</h2>
<p>A background with the following properties ...</p>
@@ -94,7 +94,7 @@ background-position: left top;</pre>
<p>(The shorthand form is actually the equivalent of the longhand properties above plus <code>background-attachment: scroll</code> and, in CSS3, some additional properties.)</p>
-<h2 id="Font_Properties" name="Font_Properties">Font properties</h2>
+<h2 id="Font_Properties">Font properties</h2>
<p>The following declarations ...</p>
@@ -110,7 +110,7 @@ font-family: Arial, sans-serif;</pre>
<p>This shorthand declaration is actually equivalent to the longhand declarations above plus <code>font-variant: normal</code> and <code>font-size-adjust: none</code> (CSS2.0 / CSS3), <code>font-stretch: normal</code> (CSS3).</p>
-<h2 id="Border_Properties" name="Border_Properties">Border properties</h2>
+<h2 id="Border_Properties">Border properties</h2>
<p>With borders, the width, color, and style can be simplified into one declaration. For example, the following CSS ...</p>
@@ -122,7 +122,7 @@ border-color: #000;</pre>
<pre class="brush:css">border: 1px solid #000;</pre>
-<h2 id="Margin_and_Padding_Properties" name="Margin_and_Padding_Properties">Margin and padding properties</h2>
+<h2 id="Margin_and_Padding_Properties">Margin and padding properties</h2>
<p>Shorthand versions of margin and padding values work the same way. The following CSS declarations ...</p>
@@ -135,7 +135,7 @@ margin-left: 5px;</pre>
<pre class="brush:css">margin: 10px 5px 10px 5px;</pre>
-<h2 id="See_also" name="See_also">See also</h2>
+<h2 id="See_also">See also</h2>
<ul>
<li>{{css_key_concepts}}</li>