Css 限制按钮重复提交

button{
  animation: throttle 2s step-end forwards;
}
button:active{
  animation: none;
}
@keyframes throttle {
  from {
    pointer-events: none;
  }
  to {
    pointer-events: all;
  }
}

作者:spike

分类: Nodejs

创作时间:2024-01-31

更新时间:2024-03-21

联系方式放在中括号之中例如[[email protected]],回复评论在开头加上标号例如:#1