I am trying to move an element from shades of gray to color using the technique described below:
CSS
.technical .tech-icon { width: 33px; height: 32px; display: inline-block; filter: url(filters.svg#grayscale); filter: gray; -webkit-filter: grayscale(1); -webkit-transition: all 0.5s ease-out; -moz-transition: all 0.5s ease-out; -o-transition: all 0.5s ease-out; transition: all 0.5s ease-out; }
For firefox we have filters.svg
<svg xmlns="http://www.w3.org/2000/svg"> <filter id="grayscale"> <feColorMatrix type="matrix" values="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"/> </filter> </svg>
How can I simulate the same transition property that works in Chrome, IE9, etc.
Change I want my transition properties to work with my SVG fix for Firefox.
css css3 svg
SMacFadyen
source share