效果图 daima <body> <div></div> </body> <style> div { background-color: rgb(220, 74, 98); width: 160px; height: 60px; border-radius: 40px; transition: all 0.2s linear; } div:active { transform: scale3d(0.92, 0.92, 1); } </style>