亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

jQuery的動(dòng)畫效果

オリジナル 2019-04-15 16:34:08 191
サマリー:<!DOCTYPE html><html><head> <title>jQuery的動(dòng)畫效果</title> <script type="text/javascript" src="../jQuery/jquery-3.3.1.min.js"></script> <st

<!DOCTYPE html>

<html>

<head>

<title>jQuery的動(dòng)畫效果</title>

<script type="text/javascript" src="../jQuery/jquery-3.3.1.min.js"></script>

<style type="text/css">

div{width: 200px;height: 200px;background: pink;position: absolute;}

</style>

<script type="text/javascript">

  $(document).ready(function(){

  $('#right').click(function(){

  $('.box1').animate({

  left:'+400px'

  },3000)

  $('.box1').animate({

  fontSize:'40px'

  },500)

  })

  $('#stop').click(function(){

  $('.box1').stop(true)

  })

  })

</script>

</head>

<body>

<!-- 點(diǎn)擊右移按鈕 div右移 點(diǎn)擊停止按鈕當(dāng)前效果停止 -->

<button id="right">右移</button>

<button id="stop">停止</button>

<div class="box1">php中文網(wǎng)</div>

</body>

</html>


添削の先生:查無此人添削時(shí)間:2019-04-16 09:57:15
先生のまとめ:完成的不錯(cuò)。jq比js容易,多練習(xí),可以代替js的常規(guī)操作,繼續(xù)加油。

手記を発表する

人気のある見出し語