-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
This reverts commit 10ba6d0.
- Loading branch information
1 parent
2402fb4
commit 1476098
Showing
3 changed files
with
83 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,21 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="stylesheet" href="style.css"> | ||
<title>Document</title> | ||
</head> | ||
|
||
<body> | ||
|
||
<div class="box"> | ||
<div id="bubble"></div> | ||
<div id="line"></div> | ||
</div> | ||
|
||
</body> | ||
|
||
</html> |
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,4 @@ | ||
{ | ||
"artName": "Moving Around", | ||
"githubHandle": "lukas2485" | ||
} |
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,58 @@ | ||
.box { | ||
width: 500px; | ||
height: 300px; | ||
background-color: black; | ||
padding: 15px; | ||
} | ||
|
||
#bubble { | ||
height: 100px; | ||
width: 100px; | ||
border-radius: 50%; | ||
background-color: lightblue; | ||
animation: | ||
pulse 2s ease infinite alternate, | ||
nudge 6s linear infinite alternate; | ||
} | ||
|
||
#line { | ||
height: 100%; | ||
width: 5px; | ||
background-color: lightblue; | ||
animation: | ||
nudge 6s linear infinite alternate, | ||
rotate 4s ease infinite; | ||
} | ||
|
||
@keyframes rotate { | ||
50% { | ||
transform: rotate(0); | ||
} | ||
|
||
80% { | ||
transform: rotate(-70deg); | ||
} | ||
} | ||
|
||
|
||
@keyframes pulse { | ||
0%, 100% { | ||
background-color: red; | ||
} | ||
50% { | ||
background-color: orange; | ||
} | ||
} | ||
|
||
@keyframes nudge { | ||
|
||
50% { | ||
transform: translate(320px, 0); | ||
} | ||
|
||
100% { | ||
transform: translate(-30px, 0); | ||
} | ||
} | ||
|
||
|