按钮禁用时,不要忘了设置鼠标状态
<button disabled>按钮</button>
<style>
button{
color:#fff;
background: skyblue;
padding: 5px 7px;
outline: none;
font-size:24px;
}
/* 按钮禁用时,不要忘了设置鼠标状态 */
button:disabled{
background: #ccc;
cursor: not-allowed;
}
</style>
动画队列
<!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>
<style>
.container div{
width: 100px;
height: 100px;
border-radius: