Scale the img in @media

Hey everyone I did a scale on the img as you can see in the screen shot.

I want to make the same scale in the @media query.

here’s the codepen : https://codepen.io/Dehna/pen/Vwpdzvw
thanks in advance.

Hello @Dehna ,

Scale is a transform-function and should be used with transform

transform: scale(0.9);

Not sure if that is what you required

Have a read of this link to help out:

2 Likes

Thanks @jaket it worked. :slight_smile: :+1:

cool
transforms can take mutiple transform-function, but be careful using them as if re-asign a single transform-function it will overwrite all