Skip to content

Commit

Permalink
added my cool animation : (#2730)
Browse files Browse the repository at this point in the history
Co-authored-by: Laureline Paris <32878345+LaurelineP@users.noreply.github.com>
  • Loading branch information
HossamGouda and LaurelineP authored Oct 13, 2024
1 parent 90306e1 commit a8ff949
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Art/HossamGouda-CirclePulse/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css">
<title>Circle Pulse Animation</title>
</head>
<body>
<div class="circle"></div>
</body>
</html>
4 changes: 4 additions & 0 deletions Art/HossamGouda-CirclePulse/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"artName": "Circle Pulse",
"githubHandle": "HossamGouda"
}
27 changes: 27 additions & 0 deletions Art/HossamGouda-CirclePulse/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #f0f0f0;
}

.circle {
width: 100px;
height: 100px;
border-radius: 50%;
background-color: #3498db;
animation: pulse 2s infinite;
}

@keyframes pulse {
0%, 100% {
transform: scale(1);
opacity: 1;
}
50% {
transform: scale(1.2);
opacity: 0.7;
}
}

0 comments on commit a8ff949

Please sign in to comment.