Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1401933

    Hey There

    I’m trying to put a picture in the background with css but is does not work.

    Its the sandbag.

    Thank you!

    The Css is:

    `.sandsack {
    transform-origin: top;
    right: -30px;
    transform: scale(0.9) translateY(-40px);
    z-index: -1!important;
    }

    .sandsack img:hover {
    transform: rotate(-5deg);
    transition: transform 0.5s ease;
    }

    #1401967

    Hey Monika,

    Thank you for the inquiry.

    Are you trying to put the sandbag behind the image in the first color section? If that is the case, then you have to put the second color section behind the first section. Applying a z-index to the sandbag directly will only adjust its stack order relative to the other elements inside the second color section.

    Best regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.