Icon Flash on Mouse Hover
See original GitHub issueWhen using custom PNGs for the light/dark, I’m seeing a brief flash of the icon when the mouse hovers over the icon and when moving off of the icon. Using the OOTB icons this doesn’t happen.
dark-mode-toggle {
position: absolute;
top: 0.5rem;
right: 1rem;
--dark-mode-toggle-light-icon: url(/assets/moon.png);
--dark-mode-toggle-dark-icon: url(/assets/sun.png);
--dark-mode-toggle-icon-size: 2rem;
--dark-mode-toggle-icon-filter: invert(100%);
transform:translate3d(0, 0, 0);
}
Not sure why this would be happening with custom PNGs.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
When I mouse over on out side of div tag icon is getting blinking
I have a text strings in value column these are editable items. For indication I used pencil icon after text string. Problem is...
Read more >windows 10 keeps displaying name of icon i am hovering over
i just uograded to windows 10 and whenever i hover my mouse over the taskview or notification icon, it says what the icon...
Read more >How To Do a Mouseover Effect on an Image or Icon with HTML
I show you how to change between two images on your website when you mouse over them...not with Java Script but with HTMLTwitter ......
Read more >[Bug] Cursor icon flickering on hover : r/Terraria - Reddit
[Bug] Cursor icon flickering on hover. I'm experiencing flickering on the item shown above the cursor when hovering on objects. anyone else?
Read more >Hovering mouse over icons no longer tells me what they are!
Check your preferences and make sure Show Tool Tips is checked. Also try resetting your Premiere preferences and deleting all your media ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for letting me know. For your page, consider using SVGs instead of PNGs, they look a lot crisper, especially on high-resolution screens.
Well, perhaps you were right! I had been working on this in localhost via
jekyll serve
where it showed the behavior, even though I did not have the dev tools in the browser open. I just pushed the changes to https://thesharepointfarm.com/ and they seem to be OK!Thank you for providing the additional info, though. That should be helpful for others 😃