Widely available
This feature is well established and works across many devices and browser versions.
Chrome
Edge
Firefox
Safari
sx-0scale: 0;sx-10scale: .1;sx-20scale: .2;sx-30scale: .3;sx-40scale: .4;sx-50scale: .5;sx-60scale: .6;sx-70scale: .7;sx-80scale: .8;sx-90scale: .9;sx-100scale: 1;Responsiveness
Use breakpoint prefixes to target different screen sizes. Styles apply from the breakpoint & up.
Target viewport sizes with breakpoint prefixes.
@sm:sx-(value)Small≥640px
@md:sx-(value)Medium≥768px
@lg:sx-(value)Large≥1024px
@xxl:sx-(value)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:sx-(value)Negative Values
Use negative variants to flip and scale in the opposite direction.
Use the -- syntax to apply negative numeric values.
Syntax:
sx--(value)