How do I make a floating css background?

  • 0
    body {
      margin: 0;
      height: 100vh;
      overflow: hidden;
      display: flex;
      line-height: 1.5;
      font-family: 'Signika', cursive;
      font-weight: 300;
      background-image: linear-gradient(45deg, #1cc7d0, #2ede98);
      color: #fff;
      -webkit-transform: translatez(0);
      -moz-transform: translatez(0);
      transform: translatez(0);
    }




    I need this background to float
    JavaScript Ivy Cooley, Apr 9, 2020

  • 1 Answers
  • 0

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!