-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create index.html * Add files via upload * Update include.js
- Loading branch information
1 parent
81db056
commit d0beca4
Showing
4 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="stylesheet" type="text/css" href="styles.css"> | ||
<title>lets play ball </title> | ||
</head> | ||
<body> | ||
<div class="ball ball1"></div> | ||
<div class="ball ball2"></div> | ||
</body> | ||
</html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
body { | ||
background-color:black; | ||
background-size: cover; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
margin: 0; | ||
overflow: hidden; | ||
} | ||
|
||
.ball { | ||
width: 50px; | ||
height: 50px; | ||
background-color:white; | ||
border-radius: 50%; | ||
position: absolute; | ||
animation: bounce 3s infinite; | ||
} | ||
|
||
.ball1 { | ||
animation-delay: 0s; | ||
} | ||
|
||
.ball2 { | ||
animation-delay: 1s; | ||
} | ||
|
||
@keyframes bounce { | ||
0% { | ||
transform: translate(0, 0); | ||
} | ||
25% { | ||
transform: translate(100%, -100%); | ||
} | ||
50% { | ||
transform: translate(200%, 0); | ||
} | ||
75% { | ||
transform: translate(100%, 100%); | ||
} | ||
100% { | ||
transform: translate(0, 0); | ||
} | ||
} |
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