JSFiddle - React, Tailwind, and code Playground
HTML
<div class="button0">
<input type="button" style="width: 303px;height: 165px;" value="Button"/>
</div>
CSS
.button0 input{
position:fixed;
left:41px;
top:12px;
font-family:Arial;
font-size:40px;
font-weight:normal;
}
JavaScript
$(document).keyup(function(event) {
if (event.which == 65) {
$('.button0 input').css('color', 'rgb(0, 0, 255)');
}
});
$(document).keypress(function(event) {
if (event.which == 97) {
$('.button0 input').css('color', 'rgb(128, 0, 0)');
}
});