try adding slightly different syntax for a:has(img)

This commit is contained in:
2023-02-28 23:15:40 +10:30
committed by GitHub
parent 8a8352c810
commit 13ccf0cb00

View File

@ -71,7 +71,9 @@ a:hover {
transform: translate(0px,-2px); transform: translate(0px,-2px);
} }
a:has(img):hover { /* seems like this doesnt always wowrk */
a:has(img):hover,
a:has(+ img):hover {
transform: none; transform: none;
} }