こんにちは、ハートビート効果のある画像を作りたいです。少しサイズを変更する必要があります。たとえば、最大 20 ピクセル大きくしてから、元のサイズに戻します。ハートビート、2ビート-オリジナル、2ビート-オリジナルのようなものになります。
これまでのところ、この効果しか見つかりませんでした:
(function pulse(back) {
$('#seventyfive').animate(
{
'font-size': (back) ? '100px' : '140px',
opacity: (back) ? 1 : 0.5
}, 700, function(){pulse(!back)});
})(false);
または、ここで確認できます: JSFiddle