Mon, 2014-10-06 16:16
well , what i actually wanted to acheive is turn all my images in the gallery grey and when hovered back to colored , exactly as the following solution i found on the web .
can somebody really explain to me , what does ? also in the HTML i see attributes like k1="0" k2="1" k3="0" k4="0" what are they ? in the CSS i see the below confusing , mind tangling bit of code :
filter: url("data:image/svg+xml;utf8,<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>#grayscale");
What does that mean too ? do i need a SVG or a simple and humble do the trick ? also do i need all of this for a simple greyscale to colored hover effect ??
Thanks and regards .
Gautam.
Mon, 2014-10-06 16:18
#1
Too add to the question
what are these futuristic tags Doing ??
<defs> <filter id="filtersPicture"> <feComposite result="inputTo_38" in="SourceGraphic" in2="SourceGraphic" operator="arithmetic" k1="0" k2="1" k3="0" k4="0" /> <feColorMatrix id="filter_38" type="saturate" values="0" data-filterid="38" />