Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dee7fd7

Browse files
authored
Enhance image class for better hover and active state effects (mobile) (#144)
1 parent 40f9fdd commit dee7fd7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

templates/components/Home/Clients.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
width="{{ client.width }}"
3030
height="{{ client.height }}"
3131
loading="lazy"
32-
class="{{ client.imgClass|default('max-h-8 sm:max-h-10') }} max-w-[80%] w-auto h-auto object-contain grayscale opacity-75 group-hover:grayscale-0 group-hover:opacity-100 transition duration-200"
32+
class="{{ client.imgClass|default('max-h-8 sm:max-h-10') }} max-w-[80%] w-auto h-auto object-contain grayscale opacity-75 group-hover:grayscale-0 group-active:grayscale-0 group-hover:opacity-100 group-active:opacity-100 transition duration-200"
3333
>
3434
</li>
3535
{% endfor %}

0 commit comments

Comments
 (0)