jQuery の background を animate するとき、Y軸方向への指定が素直にできないので、下記のようにするとよいです。(chrome のみ検証)
$('a#twitter').animate({
'background-position-x': '200px',
'background-position-y': '150px'
});
Go to list of users who liked
More than 5 years have passed since last update.
jQuery の background を animate するとき、Y軸方向への指定が素直にできないので、下記のようにするとよいです。(chrome のみ検証)
$('a#twitter').animate({
'background-position-x': '200px',
'background-position-y': '150px'
});
Register as a new user and use Qiita more conveniently
Go to list of users who liked