Skip to content

Commit

Permalink
button hover
Browse files Browse the repository at this point in the history
  • Loading branch information
ShubhamSharma025 committed Oct 14, 2022
1 parent 99844e8 commit c2c2d92
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 1 addition & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ <h1>Hello world</h1>
Submit
</button>
<input type="checkbox" id="vehicle1" name="vehicle1" value="bike">
<label for="vehicle1">
I have a car</level>
<label for="vehicle1">I have a car</level>
<br>


Expand Down
4 changes: 4 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ button{
transition: duration 4s;
border: #000 outset;

}
button:hover{
background-color: deeppink;
color: white;
}

0 comments on commit c2c2d92

Please sign in to comment.