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-0scale: 0;s-10scale: .1;s-20scale: .2;s-30scale: .3;s-40scale: .4;s-50scale: .5;s-60scale: .6;s-70scale: .7;s-80scale: .8;s-90scale: .9;s-100scale: 1;Responsiveness
Use breakpoint prefixes to target different screen sizes. Styles apply from the breakpoint & up.
Target viewport sizes with breakpoint prefixes.
sm:s-*Small≥640px
md:s-*Medium≥768px
lg:s-*Large≥1024px
xxl:s-*Extra Large≥1536px
Hover State
Apply styles conditionally on hover using the h: prefix.
Add the h: prefix to apply styles only when the user hovers over the element.
Syntax:
h:s-*Negative Values
Use negative variants to flip and scale in the opposite direction.
Use the -- syntax to apply negative numeric values.
Syntax:
s--*