Site Notice

hello, world

Do not press the button

From Project-EPB Commons
Revision as of 17:09, 21 November 2019 by 机智的小鱼君 (talk | contribs) ([InPageEdit] 没有编辑摘要)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<button onclick="showNew()">点我</button>

<style>

 button {
   padding: 0.5em 0.7em;
   background: #3380ff;
   color: white;
   font-weight: bold;
   border: 1px solid #3380ff;
 }

</style> <script>

 function showNew() {
   $('#joke').show(50);
   setTimeout(function () {
     $('#new').show(150);
     $('#joke').hide(150);
     setTimeout(function () {
       $('#joke').remove();
       $('#final').show(150);
       setTimeout(function(){
         $('#final').html('死吧!!!');
         setInterval(function(){
           $('#final').html(function(){
             var $this = $(this);
             var before = $this.text();
             var final = before + before;
             return final;
           });
         },100);
       },3000);
     }, 3000);
   }, 3000);
 }

</script>