Skip to main content
Known Participant
Nov 20, 2020 7:35 AM UTC
Answered

image scale in xd

Hello,

While hovering an image I want it to scale but still stay in the borders of its container, i just want the image to be "zoomed in" a bit. 

How can i do it on xd? 

Thanks alot .

Noa

    This topic is closed to new replies. Start a new post to keep the conversation going.
    Chris W. Griffith
    Chris W. GriffithCorrect answer
    Community Expert
    Nov 20, 2020 3:57 PM UTC

    The trick is to use masks. Place the image that you want scaled within a mask. That will provide the clipping that you are looking for. Then in the hover state, jsut drill down into the image that is maskes and adjust its size.

    2 replies

    Chris W. Griffith
    Community Expert
    Chris W. GriffithCommunity ExpertCorrect answer
    Community Expert
    Nov 20, 2020 3:57 PM UTC

    The trick is to use masks. Place the image that you want scaled within a mask. That will provide the clipping that you are looking for. Then in the hover state, jsut drill down into the image that is maskes and adjust its size.

    Translate
    Noa5CB3Author
    Known Participant
    Nov 22, 2020 7:45 AM UTC

    Thank you Chris, It hepled me alot.

    Translate