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

zoom

Description

The zoom property for CSS specifies the magnification of an element.

Syntax

CSS

zoom: value;

JS

object.style.zoom = "value";

Values

<'zoom'> = <number [0,∞]> || <percentage [0,∞]>
<number>

An integer or zero or more decimal digits followed by a dot (.) followed by one or more decimal digits. The first character may be preceded by a sign (- or +). The last character may be succeeded by an exponent (e or E) and an integer.

<percentage>

Specifies the percentage using a number followed by a percent sign (%).

Initial

1

Examples

1 · number

2 · percentage

3 · JS