how to do a css transition? Answered
I want to make a menu with background images that will devolve into another image when you hover over a category
The layout of my menu looks somewhat like the one of instructables-->(food | living | outside | play | technology | workshop)
but to make it look a bit nicer I want to make it fade and not just all of a sudden change the background without any transition at all.
I've found a html code which does exactly what i want but I don't know how to do this in css (in a way in which it is supported by all browsers)
the html code:
<img id="fade1" src="img1.jpg" class="opacity25" onmouseover="fade('fade1', 25, 100, 300)" onmouseout="fade('fade1', 100, 25, 300)" alt="" />
does anyone how to do this | in css?