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

scale

Description

The scale property for CSS accepts 1-3 values, each specifying a scale along one axis, in the order X, Y, and Z.

Syntax

CSS

scale: value;

JS

object.style.scale = "value";

Values

<'scale'> = none | <number>{1,3}
none

No scale.

<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.

Initial

none

Examples

1 · none

2 · number

3 · JS