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