JSFiddle - React, Tailwind, and code Playground

by ysuper

HTML

<html>

  <head>
  </head>

  <body>

    <div id="button">
      滑我
    </div>

    <div id="content" style="background-color:#D94A38;width:120px;height:20px;padding:40px;">
      test</div>

    <script>

      $("#actionMenu").mouseover(function() {
          $("#content").show();
          $("#content").val("Thank You")
      })
      $("#actionMenu").mouseleave(function() {
          $("#content").hide();
          $("#content").val("Mouse Over Me")
      });

    </script>

  </body>

</html>