Say I have an element and I want to change it on a hover state.
Using a Pseudo
class it will look like this:
#element:before { background-position: 0px -50px; }
#element:hover:before { background-position: -50px -50px; }
Can I implement a jQuery animation
function to it? or can I time its transition?