How to make the text of an undefined size crawl out from top to bottom of the block?

  • 0
    First, the block is above the text, after pressing it should smoothly crawl out of it from top to bottom. In this case, it does not matter how much the text is. Please help!
    JavaScript Ronan Joseph, Apr 15, 2019

  • 1 Answers
  • 0
    in js, catch the click event on the text, and hang transform translateY (20px) on the text
    Seth Davies

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