CSS按钮点击效果:颜色变化实现
<a onclick='callCHATGPT()' class='btn btn-large' href='#' style='background-color: #4cae4c; color: #fff; font-weight: bold; border-radius: 5px; padding: 10px 20px; border: none; box-shadow: none; text-decoration:none;' onmousedown='this.style.backgroundColor='#3c903c'' onmouseup='this.style.backgroundColor='#4cae4c''>回答
原文地址: https://www.cveoy.top/t/topic/mmUx 著作权归作者所有。请勿转载和采集!