From 074785cea106179cb3305637055ab0a009ca74f2 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:52 -0500 Subject: initial commit --- files/ru/web/css/border-image-source/index.html | 117 ++++++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 files/ru/web/css/border-image-source/index.html (limited to 'files/ru/web/css/border-image-source') diff --git a/files/ru/web/css/border-image-source/index.html b/files/ru/web/css/border-image-source/index.html new file mode 100644 index 0000000000..11b6b980a4 --- /dev/null +++ b/files/ru/web/css/border-image-source/index.html @@ -0,0 +1,117 @@ +--- +title: border-image-source +slug: Web/CSS/border-image-source +translation_of: Web/CSS/border-image-source +--- +
{{CSSRef}}
+ +

Описание

+ +

The border-image-source CSS property defines the {{cssxref("<image>")}} to use instead of the style of the border. If this property is set to none, the style defined by {{cssxref("border-style")}} is used instead.

+ +
Предупреждение: Though any {{cssxref("<image>")}} can be used with this CSS property, browser support is still limited and some browsers support only images defined using the url() functional notation.
+ +

{{cssinfo}}

+ +

Синтаксис

+ +
/* no border-image, use the specified border-style */
+border-image-source: none;
+
+/* the image.jpg is used as image */
+border-image-source: url(image.jpg);
+
+/* a gradient is used as image */
+border-image-source: linear-gradient(to top, red, yellow);
+
+/* Global values */
+border-image-source: inherit;
+border-image-source: initial;
+border-image-source: unset;
+
+ +

Значения

+ +
+
none
+
Specifies that no image should be used for the border. Instead the style defined by {{cssxref("border-style")}} is used.
+
<image>
+
Ссылка на изображение, которое будет использоваться в отрисовке границы.
+
+ +

Формальный синтаксис

+ +
{{csssyntax}}
+ +

Примеры

+ +

See {{cssxref("border-image")}} for examples of what the various source values will do.

+ +

Спецификации

+ + + + + + + + + + + + + + + + +
СпецификацияСтатусКомментарий
{{SpecName('CSS3 Backgrounds', '#border-image-source', 'border-image-source')}}{{Spec2('CSS3 Backgrounds')}}Initial definition
+ +

Совместимость с браузерами

+ +
{{CompatibilityTable}}
+ +
+ + + + + + + + + + + + + + + + + + + +
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Базовая поддержка15.0{{CompatGeckoDesktop("15.0")}}11156
+
+ +
+ + + + + + + + + + + + + + + + + + + +
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Базовая поддержка{{CompatUnknown}}{{CompatGeckoMobile("15.0")}}{{CompatNo}}{{CompatUnknown}}{{CompatUnknown}}
+
-- cgit v1.2.3-54-g00ecf