Change SVG Fill and Stroke on Hover

Apply :hover to fill and stroke together — not fill-only hover

Colors → currentColor? Colors → currentColorRemove hardcoded stroke? Remove hardcoded stroke

FAQ

Quick answers

How do I change SVG fill and stroke on hover?
Click Apply fill+stroke hover. A <style> rule sets resting and :hover fill and stroke. Hover the preview to verify.
How is this different from Change SVG Fill Color on Hover?
Fill-on-hover only restyles fill. This page updates fill and stroke in the same :hover rule.
Why doesn’t hover work if I leave hardcoded stroke attributes?
Presentation attributes can override CSS. This pass removes them so the class rule wins.
Can I use currentColor and hover together?
Convert colors to currentColor for inheritance, then add hover if you need a second explicit color.
Colors → currentColor → Remove hardcoded stroke → Fill → currentColor → Fill on hover →
Open full editor →

Source

Type or paste SVG markup. The preview on the right updates as you type.

Ready

Live preview

PNG export · 2× for retina