aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/css/css_backgrounds_and_borders/index.html
blob: e0862bb429850f752bdae8ae59dda2c7fecc264d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
---
title: CSS Background and Borders
slug: Web/CSS/CSS_Backgrounds_and_Borders
tags:
  - CSS
  - CSS Backgrounds and Borders
  - CSS Reference
  - NeedsTranslation
  - Overview
  - TopicStub
translation_of: Web/CSS/CSS_Backgrounds_and_Borders
translation_of_original: Web/CSS/CSS_Background_and_Borders
original_slug: Web/CSS/CSS_Background_and_Borders
---
<p>{{CSSRef}}</p>

<p><strong>CSS Background and Borders</strong> is a module of CSS that defines how background and borders of elements are described. Borders can be lines or images, boxes can have one or multiple backgrounds, have rounded corners, and shadows.</p>

<h2 id="Reference">Reference</h2>

<h3 id="CSS_Properties">CSS Properties</h3>

<div class="index">
<ul>
 <li>{{cssxref("background")}}</li>
 <li>{{cssxref("background-attachment")}}</li>
 <li>{{cssxref("background-clip")}}</li>
 <li>{{cssxref("background-color")}}</li>
 <li>{{cssxref("background-image")}}</li>
 <li>{{cssxref("background-origin")}}</li>
 <li>{{cssxref("background-position")}}</li>
 <li>{{cssxref("background-repeat")}}</li>
 <li>{{cssxref("background-size")}}</li>
 <li>{{cssxref("box-shadow")}}</li>
 <li>{{cssxref("border")}}</li>
 <li>{{cssxref("border-bottom")}}</li>
 <li>{{cssxref("border-bottom-color")}}</li>
 <li>{{cssxref("border-bottom-left-radius")}}</li>
 <li>{{cssxref("border-bottom-right-radius")}}</li>
 <li>{{cssxref("border-bottom-style")}}</li>
 <li>{{cssxref("border-bottom-width")}}</li>
 <li>{{cssxref("border-collapse")}}</li>
 <li>{{cssxref("border-color")}}</li>
 <li>{{cssxref("border-image")}}</li>
 <li>{{cssxref("border-image-outset")}}</li>
 <li>{{cssxref("border-image-repeat")}}</li>
 <li>{{cssxref("border-image-slice")}}</li>
 <li>{{cssxref("border-image-source")}}</li>
 <li>{{cssxref("border-image-width")}}</li>
 <li>{{cssxref("border-left")}}</li>
 <li>{{cssxref("border-left-color")}}</li>
 <li>{{cssxref("border-left-style")}}</li>
 <li>{{cssxref("border-left-width")}}</li>
 <li>{{cssxref("border-radius")}}</li>
 <li>{{cssxref("border-right")}}</li>
 <li>{{cssxref("border-right-color")}}</li>
 <li>{{cssxref("border-right-style")}}</li>
 <li>{{cssxref("border-right-width")}}</li>
 <li>{{cssxref("border-style")}}</li>
 <li>{{cssxref("border-top")}}</li>
 <li>{{cssxref("border-top-color")}}</li>
 <li>{{cssxref("border-top-left-radius")}}</li>
 <li>{{cssxref("border-top-right-radius")}}</li>
 <li>{{cssxref("border-top-style")}}</li>
 <li>{{cssxref("border-top-width")}}</li>
 <li>{{cssxref("border-width")}}</li>
</ul>
</div>

<h2 id="Guides">Guides</h2>

<dl>
 <dt><a href="/en-US/docs/Web/CSS/CSS_Background_and_Borders/Using_CSS_multiple_backgrounds">Using CSS multiple backgrounds</a></dt>
 <dd>Explains how to set backgrounds on elements and how they will interact with it.</dd>
 <dt><a href="/en-US/docs/Web/CSS/CSS_Background_and_Borders/Scaling_background_images">Scaling background images</a></dt>
 <dd>Describes how to change the appearance of the background images, by stretching them or repeating them, to cover the whole background of the element, or not.</dd>
</dl>

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">Specification</th>
   <th scope="col">Status</th>
   <th scope="col">Comment</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td>{{ SpecName('CSS3 Backgrounds') }}</td>
   <td>{{ Spec2('CSS3 Backgrounds') }}</td>
   <td> </td>
  </tr>
  <tr>
   <td>{{SpecName('CSS2.1', 'box.html')}}</td>
   <td>{{Spec2('CSS2.1')}}</td>
   <td> </td>
  </tr>
  <tr>
   <td>{{SpecName('CSS1', '#border')}}</td>
   <td>{{Spec2('CSS1')}}</td>
   <td> </td>
  </tr>
 </tbody>
</table>