SVG Filter Transition in Firefox
问题 I'm attempting to transition an image from a 50% grey scale filter to its filterless state on hover. The transition doesn't work in firefox however. Is it possible to get the transition running in firefox using only css? img { filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'saturate\' values=\'0.5\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */ filter: gray alpha(opacity=50); /* IE6-9 */ -webkit-filter: grayscale