Image scale with css

Hello,

In cep panels I was using transform: scale(x) for make zoom on a image, but in uxp doesn’t work

I was trying doing a canvas… but also doesnt work

Do you know how I can scale and image inside a div or img?

Thanks!

IIRC neither canvas nor transform are currently supported. I believe your best option would be to have a correct size image from the beginning or do the scaling using width and height properties :thinking:

1 Like