-
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.
* thiziribouaziz animation * update thiziribouaziz animation * finalUpdate
- Loading branch information
1 parent
8555584
commit 1a27119
Showing
3 changed files
with
150 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,18 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>aniamation nation</title> | ||
<link rel="stylesheet" href="./styles.css"> | ||
<link rel="preconnect" href="https://fonts.googleapis.com"> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||
<link href="https://fonts.googleapis.com/css2?family=Sixtyfour+Convergence:BLED@0..100&family=Unlock&display=swap" rel="stylesheet"> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1>HAPPY HACHTOBERFEST</h1> | ||
</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": "Hachtoberfest Animation", | ||
"githubHandle": "thiziribouaziz" | ||
} |
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,128 @@ | ||
body{ | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
position: relative; | ||
display: flex; | ||
justify-content: center; | ||
} | ||
|
||
.container{ | ||
width: 100%; | ||
height: 100%; | ||
display: flex; | ||
justify-content: center; | ||
text-align: center; | ||
|
||
} | ||
|
||
|
||
body{ | ||
-webkit-animation: color-change-2x 2s linear infinite alternate both; | ||
animation: color-change-2x 2s linear infinite alternate both; | ||
} | ||
|
||
@-webkit-keyframes body { | ||
0% { | ||
background: #19dcea; | ||
} | ||
100% { | ||
background: #b22cff; | ||
} | ||
} | ||
@keyframes color-change-2x { | ||
0% { | ||
background: #19dcea; | ||
} | ||
100% { | ||
background: #b22cff; | ||
} | ||
} | ||
|
||
h1{ | ||
padding: 30px; | ||
border-radius: 40px; | ||
background-color: rgba(211, 10, 167, 0); | ||
color: rgb(79, 12, 100); | ||
font-family: "Unlock", serif; | ||
font-size: 50px; | ||
letter-spacing: 10px; | ||
margin-top: 250px; | ||
|
||
} | ||
h1 { | ||
-webkit-animation: heartbeat 3s ease-in-out infinite both; | ||
animation: heartbeat 3s ease-in-out infinite both; | ||
} | ||
|
||
|
||
@-webkit-keyframes heartbeat { | ||
from { | ||
-webkit-transform: scale(1); | ||
transform: scale(1); | ||
-webkit-transform-origin: center center; | ||
transform-origin: center center; | ||
-webkit-animation-timing-function: ease-out; | ||
animation-timing-function: ease-out; | ||
} | ||
10% { | ||
-webkit-transform: scale(0.91); | ||
transform: scale(0.91); | ||
-webkit-animation-timing-function: ease-in; | ||
animation-timing-function: ease-in; | ||
} | ||
17% { | ||
-webkit-transform: scale(0.98); | ||
transform: scale(0.98); | ||
-webkit-animation-timing-function: ease-out; | ||
animation-timing-function: ease-out; | ||
} | ||
33% { | ||
-webkit-transform: scale(0.87); | ||
transform: scale(0.87); | ||
-webkit-animation-timing-function: ease-in; | ||
animation-timing-function: ease-in; | ||
} | ||
45% { | ||
-webkit-transform: scale(1); | ||
transform: scale(1); | ||
-webkit-animation-timing-function: ease-out; | ||
animation-timing-function: ease-out; | ||
} | ||
} | ||
@keyframes heartbeat { | ||
from { | ||
-webkit-transform: scale(1); | ||
transform: scale(1); | ||
-webkit-transform-origin: center center; | ||
transform-origin: center center; | ||
-webkit-animation-timing-function: ease-out; | ||
animation-timing-function: ease-out; | ||
} | ||
10% { | ||
-webkit-transform: scale(0.91); | ||
transform: scale(0.91); | ||
-webkit-animation-timing-function: ease-in; | ||
animation-timing-function: ease-in; | ||
} | ||
17% { | ||
-webkit-transform: scale(0.98); | ||
transform: scale(0.98); | ||
-webkit-animation-timing-function: ease-out; | ||
animation-timing-function: ease-out; | ||
} | ||
33% { | ||
-webkit-transform: scale(0.87); | ||
transform: scale(0.87); | ||
-webkit-animation-timing-function: ease-in; | ||
animation-timing-function: ease-in; | ||
} | ||
45% { | ||
-webkit-transform: scale(1); | ||
transform: scale(1); | ||
-webkit-animation-timing-function: ease-out; | ||
animation-timing-function: ease-out; | ||
} | ||
} | ||
|
||
|