侧边影藏div,以10px/1ms滑出div,以1px/1ms滑入的途中再次onmouseover

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">

<title>匀速动画</title>

<style type="text/css">

    #move{

        width: 200px;

        height: 200px;

        background-color: #996666;

        position: absolute;

        top: 20px;

        left: -190px;

        cursor:pointer;

    }

</style>

<script type="text/javascript">

window.onload=function(){


https://img1.mukewang.com/5bd5512f0001b9ce04690616.jpg

</head>
<body>
<div id="move">

</div>
</body>
</html>


繁星淼淼
浏览 608回答 1
1回答
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

JavaScript