返回 动画事件的处理... 登陆

动画事件的处理

A00A-KAจุ๊บ  2019-08-17 23:15:46 1486

<!DOCTYPE html>

<html lang="en">

<head>

   <meta charset="UTF-8">

   <meta name="viewport" content="width=device-width, initial-scale=1.0">

   <meta http-equiv="X-UA-Compatible" content="ie=edge">

   <title>Document</title>

</head>

<body>

   <script>

      function myfovus(x){

          x.style.background='yellow'

      }

      function onlick(y){

          y.style.borderRadius="50px"

      }

   </script>

   姓名:<input type="text" onfocus="myfovus(this)">

   <br>

   <br>

   <div style="width: 200px;height: 200px;border:1px solid black" onclick="onlick(this)"></div>

</body>

</html>


最新手记推荐

• 用composer安装thinkphp框架的步骤 • 省市区接口说明 • 用thinkphp,后台新增栏目 • 管理员添加编辑删除 • 管理员添加编辑删除

全部回复(0)我要回复

暂无评论~
  • 取消 回复 发送
  • PHP中文网