Answers for "clicked change color 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
3

html background color change by clicking

<html>
     <head>
       <title>this is coding</title>
       <center>
       <h1 align="center"><span style="background-color:#00FF00">this is a nice piece of art
Posted by: Guest on January-12-2022
1

css color when clicked

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

Browse Popular Code Answers by Language