GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — animate.css · codeChun/javaScript@4f2df9f

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • animate.css
    • .idea
      • .name
      • animate.css.iml
      • encodings.xml
      • misc.xml
      • modules.xml
      • workspace.xml
    • 1.html
    • css
      • animate.css
      • animate.min.css
    • js
      • jquery-1.9.1.min.js
  • jQuery-aniview
    • .idea
      • .name
      • misc.xml
      • modules.xml
      • scroll.iml
      • vcs.xml
      • workspace.xml
    • css
      • animate.css
      • default.css
      • normalize.css
      • styles.css
    • img
      • 1.jpg
    • index.html
    • js
      • jquery-2.1.1.min.js
      • jquery.aniview.js
      • jquery.aniview.min.js
    • 页面滚动.html
  • 页面滚动元素
    • css
      • animate.css
      • default.css
      • normalize.css
      • styles.css
    • img
      • 1.jpg
    • index.html
    • js
      • jquery-2.1.1.min.js
      • jquery.aniview.js
      • jquery.aniview.min.js
    • 页面滚动.html
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎animate.css/.idea/.name‎

Copy file name to clipboardExpand all lines: animate.css/.idea/.name
+1Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎scroll/.idea/scroll.iml‎ ‎animate.css/.idea/animate.css.iml‎scroll/.idea/scroll.iml renamed to animate.css/.idea/animate.css.iml

Copy file name to clipboard
File renamed without changes.
Collapse file

‎animate.css/.idea/encodings.xml‎

Copy file name to clipboardExpand all lines: animate.css/.idea/encodings.xml
+6Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎animate.css/.idea/misc.xml‎

Copy file name to clipboardExpand all lines: animate.css/.idea/misc.xml
+13Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎animate.css/.idea/modules.xml‎

Copy file name to clipboardExpand all lines: animate.css/.idea/modules.xml
+8Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎animate.css/.idea/workspace.xml‎

Copy file name to clipboardExpand all lines: animate.css/.idea/workspace.xml
+291Lines changed: 291 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎animate.css/1.html‎

Copy file name to clipboard
+41Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>Title</title>
6+
<link rel="stylesheet" href="css/animate.min.css">
7+
<style>
8+
*{
9+
margin: 0;
10+
padding: 0;
11+
}
12+
#login{
13+
width: 300px;
14+
height: 300px;
15+
border: 1px solid red;
16+
}
17+
.animated.tada{
18+
-webkit-animation-duration:.3s; /*可以在这里改动画的持续时间,延迟时间和执行次数等*/
19+
}
20+
</style>
21+
</head>
22+
<body>
23+
<div id="login">
24+
<input type="text">
25+
<button>登录</button>
26+
</div>
27+
</body>
28+
<script src="js/jquery-1.9.1.min.js"></script>
29+
<script>
30+
// git地址:https://github.com/daneden/animate.css
31+
$('button').on('click',function(){
32+
var $login=$('#login');
33+
var name= $.trim($('input').val());
34+
if(name==''){
35+
$login.addClass('animated tada').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend',function(){
36+
$(this).removeClass('animated tada');
37+
}); //one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend',function(){}相当于回调
38+
}
39+
});
40+
</script>
41+
</html>

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.