Skip to content

Instantly share code, notes, and snippets.

@anderson-mota
Created March 15, 2013 22:47
Show Gist options
  • Save anderson-mota/5173725 to your computer and use it in GitHub Desktop.
Save anderson-mota/5173725 to your computer and use it in GitHub Desktop.
Background position animate para Mozilla.
if ($.browser.mozilla) {
$('.tag').css({
'background-position': 'center 0px',
'-moz-transition': 'all 1500ms ease'
})
} else {
$('.tag').animate({
'background-position-y': 0
}, 1500);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment