<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style type="text/css">
div{
border: 1px solid #666666;
background-color: #EEEEEE;
width: 50px;
height: 50px;
font-size: 13px;
padding: 5px;
}
</style>
<script src="../js/jquery-3.5.1.js"></script>
<script>
$(document).ready(function () {
$("div").click(function () {
$(this).animate({height:"100px"},"slow")
.animate({width:"100px"},"slow")
.animate({height: "50px"},"slow")
.animate({width:"50px"},"slow");
});
});
</script>
</head>
<body>
<div>队列</div>
</body>
</html>