First screen's flying in under the cover.



  • http://sponge.com.ua/ How do you make the main screen disappear like this?



  • let img = document.querySelector('img');
    

    setTimeout(() => {
    img.src = "https://i.ibb.co/TL787nR/1586433967272.png";
    }, 1000)

    .a{
    width: 200px;
    height: 100px;
    margin: auto;
    }
    <div class="a">
    <img src="https://i.ibb.co/9t6qVKc/image.jpg">
    </div>




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2