HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

viewBox

marker

Description

The viewBox attribute for SVG specifies a rectangle in user space.

A list of four numbers: min-x, min-y, width, and height that should be mapped to the bounds of the SVG viewport established by the given element, taking into account the preserveAspectRatio attribute. The presence of the viewBox attribute results in a transformation being applied to the viewport coordinate system.

Syntax

Value

[ <min-x>,? <min-y>,? <width>,? <height> ]

Default

(none)

Examples

<height>

<min-x>

<min-y>

<width>

pattern

Description

The viewBox attribute for SVG specifies a rectangle in user space.

A list of four numbers: min-x, min-y, width, and height that should be mapped to the bounds of the SVG viewport established by the given element, taking into account the preserveAspectRatio attribute. The presence of the viewBox attribute results in a transformation being applied to the viewport coordinate system.

Syntax

Value

[ <min-x>,? <min-y>,? <width>,? <height> ]

Default

(none)

Examples

<height>

<min-x>

<min-y>

<width>

svg

Description

The viewBox attribute for SVG specifies a rectangle in user space.

A list of four numbers: min-x, min-y, width, and height that should be mapped to the bounds of the SVG viewport established by the given element, taking into account the preserveAspectRatio attribute. The presence of the viewBox attribute results in a transformation being applied to the viewport coordinate system.

Syntax

Value

[ <min-x>,? <min-y>,? <width>,? <height> ]

Default

(none)

Examples

<height>

<min-x>

<min-y>

<width>

symbol

Description

The viewBox attribute for SVG specifies a rectangle in user space.

A list of four numbers: min-x, min-y, width, and height that should be mapped to the bounds of the SVG viewport established by the given element, taking into account the preserveAspectRatio attribute. The presence of the viewBox attribute results in a transformation being applied to the viewport coordinate system.

Syntax

Value

[ <min-x>,? <min-y>,? <width>,? <height> ]

Default

(none)

Examples

<height>

<min-x>

<min-y>

<width>

view

Description

The viewBox attribute for SVG specifies a rectangle in user space.

A list of four numbers: min-x, min-y, width, and height that should be mapped to the bounds of the SVG viewport established by the given element, taking into account the preserveAspectRatio attribute. The presence of the viewBox attribute results in a transformation being applied to the viewport coordinate system.

Syntax

Value

[ <min-x>,? <min-y>,? <width>,? <height> ]

Default

(none)

Examples

<height>

<min-x>

<min-y>

<width>