-4

Can anyone tell me how this animation is working "centered one".See a link.I don't know where to start with

4

1 回答 1

2

将文本拆分为 span

<spans class="highlightOnHover">

然后使用一些 jQuery 来突出显示

$(".highlghtOnHover").hover(
  function () {
    $(this).addClass("hover");
  },
  function () {
    $(this).removeClass("hover");
  }
);
于 2012-07-26T10:04:09.627 回答