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

This commit is contained in:
uuupah authored and GitHub committed 2023-02-28 23:15:40 +10:30
1 parent 8a8352c810
commit 13ccf0cb00
1 file changed
+3 -1
+3 -1
View File
@@ -71,7 +71,9 @@ a:hover {
transform: translate(0px,-2px);
}
a:has(img):hover {
/* seems like this doesnt always wowrk */
a:has(img):hover,
a:has(+ img):hover {
transform: none;
}