Answers for "input change background color on focus css"

CSS
14

css focus change color

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

focus on input change label color

.input-group {
    display: flex;
    flex-direction: column-reverse;
}

input:focus + label {
    color: red;
}
Posted by: Guest on January-02-2021

Code answers related to "input change background color on focus css"

Browse Popular Code Answers by Language