Skip to content

Commit

Permalink
fixed hover css
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajul-29 committed Jun 20, 2024
1 parent 1c9cd72 commit f19e49d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h1 class="nav-heading">SORTING VISUALISER</h1>
</div>
<div>
<p>Speed of the algorithm:</p>
<input id="a_speed" type="range" min="1" max="5" step="1" value="4" background-colo="red" />
<input id="a_speed" type="range" min="1" max="5" step="1" value="4"/>
</div>
<div><button id="a_generate">Generate New Array!</button></div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ nav .header_right .algos button {
}

nav .header_right .algos button:hover {
background-color: white;
background-color: rgb(197, 75, 75);
color: rgb(0, 0, 0);
cursor: pointer;
}
Expand All @@ -119,7 +119,7 @@ nav .header_right .algos .butt_locked {

nav .header_right .algos .butt_locked:hover {
background-color: rgb(0, 0, 0);
color: white;
color: rgb(59, 52, 52);
cursor: default;
}

Expand Down

0 comments on commit f19e49d

Please sign in to comment.