Answers for "change color if click css"

CSS
14

css onclick change color

<style>
.dabutton:focus {
    background-color:yellow;
}
</style>
<button class="dabutton"></button> // <-- usage
Posted by: Guest on July-03-2020
1

css color when clicked

element:focus
Posted by: Guest on January-11-2021

Browse Popular Code Answers by Language