Skip to content

Commit

Permalink
Fix hover effects color (#1596)
Browse files Browse the repository at this point in the history
Co-authored-by: Marta Wierzbicka <[email protected]>
  • Loading branch information
Martussky and Marta Wierzbicka authored Apr 19, 2023
1 parent 64f8d05 commit 2999ed2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions demo/sites/components/hover-effects.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@
alt="Louvre" />
<a href="#!">
<div
class="absolute top-0 right-0 bottom-0 left-0 h-full w-full overflow-hidden bg-fixed opacity-0 transition duration-300 ease-in-out hover:opacity-100"
style="background-color: rgba(251, 251, 251, 0.2)"></div>
class="absolute top-0 right-0 bottom-0 left-0 h-full w-full overflow-hidden bg-[hsl(0,0%,98.4%,0.2)] bg-fixed opacity-0 transition duration-300 ease-in-out hover:opacity-100"></div>
</a>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
alt="Louvre" />
<a href="#!">
<div
class="absolute bottom-0 left-0 right-0 top-0 h-full w-full overflow-hidden bg-fixed opacity-0 transition duration-300 ease-in-out hover:opacity-100"
style="background-color: rgba(251, 251, 251, 0.2)"></div>
class="absolute bottom-0 left-0 right-0 top-0 h-full w-full overflow-hidden bg-[hsl(0,0%,98.4%,0.2)] bg-fixed opacity-0 transition duration-300 ease-in-out hover:opacity-100"></div>
</a>
</div>
</div>
Expand All @@ -65,8 +64,7 @@
alt="Louvre" />
<a href="#!">
<div
class="absolute bottom-0 left-0 right-0 top-0 h-full w-full overflow-hidden bg-fixed opacity-0 transition duration-300 ease-in-out hover:opacity-100"
style="background-color: rgba(251, 251, 251, 0.2)"></div>
class="absolute bottom-0 left-0 right-0 top-0 h-full w-full overflow-hidden bg-[hsl(0,0%,98.4%,0.2)] bg-fixed opacity-0 transition duration-300 ease-in-out hover:opacity-100"></div>
</a>
</div>
{{< /twsnippet/code >}}
Expand Down

0 comments on commit 2999ed2

Please sign in to comment.