ultralight-ux/Ultralight

CSS property scale

jonatan-kruse opened this issue · 3 comments

I'm having issues with the css property scale
when used in the way:

.someText {
    scale: 2 1;
}

It has no effect on the element that I want to scale even though it does in a "normal" browser.

Individual transform properties are a relatively new CSS feature, it could be that the webkit version used just doesn't support it (https://caniuse.com/mdn-css_properties_scale)

Is there an easy way to check the webkit version used then? Webkit has support for scale since 2021.

The web does not support client detection that way. What you're looking for is CSS @supports

https://css-tricks.com/how-supports-works/