0

I was wondering how could I rotate my background image and flipping it horizontally without it rotating and flipping the whole web page. I found stuff to rotate background-image for container and such, but none for the whole body of a web page. Here's what I have, but I don't think it can be of any help:

    body {
      overflow-x: hidden;
      padding: 0;
      margin: 0;
      width: 100vw;
      height: 100vh;
      position: relative;

  }

  body::before {
      background-image: url("images/cab06e1517827eff989457c69aae7ea5.png");
      background-repeat: no-repeat;
      background-position: right;
      background-size: 600px;
      z-index: -1;
      position: absolute;
      width: 100%;
      height: 100%;
      top: -100%;
      left: -100%;
    }

Thanks.

manouna
  • 93
  • 1
  • 8

0 Answers0