Change text (html) with .animate

后端 未结 7 2092
灰色年华
灰色年华 2020-12-23 20:04

I am trying to animate the html part of a tag ( This Text! ) using jQuery\'s Animate function, like so:

7条回答
  •  时光取名叫无心
    2020-12-23 20:26

    refer to official jquery example: and play with it.

    .animate({
        width: "70%",
        opacity: 0.4,
        marginLeft: "0.6in",
        fontSize: "3em",
        borderWidth: "10px"
      }, 1500 );
    

提交回复
热议问题