Skip to content

Commit

Permalink
Merge pull request #282 from abhitiwari2511/bugfix/hoverEffect
Browse files Browse the repository at this point in the history
Bug Fix #277
  • Loading branch information
thevirengarg authored Jul 30, 2024
2 parents f66fee2 + 1729b3c commit b1ed2e0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ button {
align-items: center;
cursor: pointer;
}

.hover {
cursor: pointer;
}

#google_translate_element {
position: absolute;
top: 10px;
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ <h1><span id="score">0</span>/<span id="max">0</span> discovered</h1>
<div class="pop-up" style="display: none">
<div class="upper-cross" style="padding: 4px">
<button onclick="cross()">
<i class="fa-solid fa-xmark fa-beat" style="color: white"></i>
<i class="fa-solid fa-xmark fa-beat hover" style="color: white"></i>
</button>
</div>
<div class="lower-content">
Expand All @@ -140,7 +140,7 @@ <h1><span id="score">0</span>/<span id="max">0</span> discovered</h1>
</div>
<div class="lower-button">
<button onclick="nextSpeech()">
<i class="fa-solid fa-forward fa-bounce fa-lg"></i>
<i class="fa-solid fa-forward fa-bounce fa-lg hover"></i>
</button>
</div>
</div>
Expand Down

0 comments on commit b1ed2e0

Please sign in to comment.