This repository has been archived by the owner on Sep 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 509
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
6,159 additions
and
193 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,16 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Animation</title> | ||
<link rel="stylesheet" href="style.css"> | ||
</head> | ||
|
||
<body> | ||
<h1>Rainbow Circle</h1> | ||
<div class="carrot"></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,44 @@ | ||
.carrot { | ||
width: 30px; | ||
height: 20px; | ||
background: red; | ||
border-radius: 40%; | ||
position: relative; | ||
animation-name: loony; | ||
animation-duration: 4s; | ||
animation-delay: 2s; | ||
} | ||
|
||
@keyframes loony { | ||
0% { | ||
background-color: red; | ||
left: 0px; | ||
top: 0px; | ||
} | ||
25% { | ||
background-color: yellow; | ||
left: 100px; | ||
top: 0px; | ||
} | ||
50% { | ||
background-color: greenyellow; | ||
left: 100px; | ||
top: 100px; | ||
} | ||
75% { | ||
background-color: rgb(10, 210, 232); | ||
left: 0px; | ||
top: 100px; | ||
} | ||
100% { | ||
background-color: rgb(245, 35, 245); | ||
left: 0px; | ||
top: 0px; | ||
} | ||
} | ||
|
||
h1 { | ||
font-family: cursive; | ||
font-size: large; | ||
color: mediumspringgreen; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.