<p><input class="change_btn" type="button" name="" value="修改"></p>
.change_btn{
  float: right;
  background-color: #fff;
  color: #fe6500;
  border: none;
  width: 100px;
  height: 30px;
  border: 1px solid #fe6500;
  outline: none; /*按钮点击后,不出现框框*/
  border-radius: 0.3rem;
}

outline(轮廓)是绘制于元素周围的一条线,位于边框边缘的外围,可起到突出元素的作用,设置outline:none,阻止点击后的背景框出现

相关文章:

  • 2022-01-03
  • 2022-12-23
  • 2021-10-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-16
  • 2022-12-23
  • 2022-12-23
  • 2021-07-30
相关资源
相似解决方案