scale property
[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]
An individual transform property that specifies 1-3 scale values along one axis in the order X, Y, and Z. Unspecified values default to 1.
This property is read/write.
Syntax
scale: none | <number>
{1,3}
Property values
none-
No scaling
<number>-
A length or percentage value.
CSS information
| Applies To | block-level and inline-level elements |
|---|---|
| Media | visual |
| Inherited | no |
| Initial Value | none |
Examples
div {
scale: .75, .5;
}
See also
Show: