From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/web/svg/attribute/viewbox/index.html | 55 +++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 files/ja/web/svg/attribute/viewbox/index.html (limited to 'files/ja/web/svg/attribute/viewbox/index.html') diff --git a/files/ja/web/svg/attribute/viewbox/index.html b/files/ja/web/svg/attribute/viewbox/index.html new file mode 100644 index 0000000000..c0cf002341 --- /dev/null +++ b/files/ja/web/svg/attribute/viewbox/index.html @@ -0,0 +1,55 @@ +--- +title: viewBox +slug: Web/SVG/Attribute/viewBox +translation_of: Web/SVG/Attribute/viewBox +--- +

« SVG Attribute reference home

+ +

viewBox属性は、特定のcontainer要素に合わせるためのグラフィックス stretchのセットを指定できます。

+ +

The value of the viewBox attribute is a list of four numbers min-x, min-y, width and height, separated by whitespace and/or a comma, which specify a rectangle in user space which should be mapped to the bounds of the viewport established by the given element, taking into account attribute {{ SVGAttr("preserveAspectRatio") }}.

+ +

Negative values for width or height are not permitted and a value of zero disables rendering of the element.

+ +

Usage context

+ + + + + + + + + + + + + + + + + + + + +
CategoriesNone
ValueSee above
AnimatableYes
Normative documentSVG 1.1 (2nd Edition)
+ +

+ +

要素

+ +

以下の要素がviewBox属性を使います。

+ + + +

See also

+ + -- cgit v1.2.3-54-g00ecf