I'm making an HTML5 game, and I have a reset button. whenever the button is clicked, it gets a black outline around the outside next time a button is pressed. is there an attribute or something I can use to prevent this?
<button id="reset" onclick="reset()">Reset</button>
This is what I'm using for my button. I don't know if it's something in the HTML or CSS. I tried going into CSS and adding user-select: none;
but I think that's for radio buttons