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 :
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:


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

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

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.