Created
December 11, 2016 10:49
-
-
Save janily/17e3a9dbba0d7fe87b2c019f16697382 to your computer and use it in GitHub Desktop.
配合animate.css里面的动画效果来制作列表动画
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(".mod-choose p").each(function (i) { | |
$(this).attr("style", "-webkit-animation-delay:" + i * 250 + "ms;" | |
+ "animation-delay:" + i * 250 + "ms;"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment