From 1386fed7d38652d5848d315927e7e23a66cffd13 Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Wed, 20 Oct 2021 13:28:52 +0300 Subject: [RU] Remove `name` attribute from headings (#2788) --- files/ru/web/css/shorthand_properties/index.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'files/ru/web/css/shorthand_properties/index.html') 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

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.

-

Tricky edge cases

+

Tricky edge cases

Even if they are very convenient to use, there are a few edge cases to keep in mind when using them:

@@ -79,7 +79,7 @@ background: url(images/bg.gif) no-repeat left top; -

Background properties

+

Background properties

A background with the following properties ...

@@ -94,7 +94,7 @@ background-position: left top;

(The shorthand form is actually the equivalent of the longhand properties above plus background-attachment: scroll and, in CSS3, some additional properties.)

-

Font properties

+

Font properties

The following declarations ...

@@ -110,7 +110,7 @@ font-family: Arial, sans-serif;

This shorthand declaration is actually equivalent to the longhand declarations above plus font-variant: normal and font-size-adjust: none (CSS2.0 / CSS3), font-stretch: normal (CSS3).

-

Border properties

+

Border properties

With borders, the width, color, and style can be simplified into one declaration. For example, the following CSS ...

@@ -122,7 +122,7 @@ border-color: #000;
border: 1px solid #000;
-

Margin and padding properties

+

Margin and padding properties

Shorthand versions of margin and padding values work the same way. The following CSS declarations ...

@@ -135,7 +135,7 @@ margin-left: 5px;
margin: 10px 5px 10px 5px;
-

See also

+

See also