Skip to main content

Scale

Set the scale for an element.

Widely available

This feature is well established and works across many devices and browser versions.

Chrome
Edge
Firefox
Safari

s:0
scale: 0;
s:10
scale: .1;
s:20
scale: .2;
s:30
scale: .3;
s:40
scale: .4;
s:50
scale: .5;
s:60
scale: .6;
s:70
scale: .7;
s:80
scale: .8;
s:90
scale: .9;
s:100
scale: 1;

Scale X

sx:0
scale: 0;
sx:10
scale: .1;
sx:20
scale: .2;
sx:30
scale: .3;
sx:40
scale: .4;
sx:50
scale: .5;
sx:60
scale: .6;
sx:70
scale: .7;
sx:80
scale: .8;
sx:90
scale: .9;
sx:100
scale: 1;

Scale Y

sy:0
scale: 0;
sy:10
scale: .1;
sy:20
scale: .2;
sy:30
scale: .3;
sy:40
scale: .4;
sy:50
scale: .5;
sy:60
scale: .6;
sy:70
scale: .7;
sy:80
scale: .8;
sy:90
scale: .9;
sy:100
scale: 1;

Media Queries

Prefix a class with a breakpoint to apply it from that width up.

Pseudo Classes

Prefix a class with a state to apply it only while that state matches.

Negative Values

Double the hyphen to negate any value on the scale.