Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changed my stars animation to be infinite #2390

Merged
merged 14 commits into from
Oct 30, 2023
Merged
Binary file added Art/Ornitcg/baloon/baloon.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions Art/Ornitcg/baloon/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- <meta http-equiv="refresh" content="3"> -->
<title>Baloon</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="baloon-container">
<div class="baloon"></div>
<div class="baloon-tie"></div>
<div class="baloon-strand1"></div>
<!-- <div class="baloon-strand2"></div> -->

</div>

</body>
</html>
72 changes: 72 additions & 0 deletions Art/Ornitcg/baloon/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
body {
margin: 0;
padding: 0;
display: grid;
place-content: center;
background-color: antiquewhite;

}

.baloon {
display: block;
height: 5rem;
width: 5rem;
background-color: blueviolet;
border-radius: 50% 58% 43% 58%;
}

.baloon-tie {
display: block;
height: 0.5rem;
width: 20px;
margin-top: -2px;;
margin-left: 40px;

background-color: blueviolet;
clip-path: polygon(40% 0%, 50% 0%, 0% 100%, 100% 100%);
}
.baloon-strand1 {
display: block;
width:5rem;
height:5rem;
border:solid 5px #000;
border-color:#000 transparent transparent transparent;
border-radius: 100px 100%/50px 100px 0 0;
margin-left: -30px;
margin-top: -15px;
transform: rotate(90deg)
}


.baloon-container {
position: relative;
padding: 0;
height: 200px;
width: 100px;
background-color: inherit;
display: grid;
place-content: center ;
animation: swing 4000ms infinite;
}

@keyframes swing {
0% {
transform: translateY(300%) rotate(30deg) ;
animation-timing-function: linear;
}


50% {
transform: translateY(100%) rotate(-30deg) ;
animation-timing-function: linear;


}
100% {
transform: translateY(-200%) rotate(30deg) ;
animation-timing-function: linear;


}

}
2 changes: 1 addition & 1 deletion Art/Ornitcg/stars/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ body {
background-color: white;
clip-path: polygon(44% 6%, 61% 35%, 91% 29%, 69% 54%, 78% 86%, 50% 70%, 23% 85%, 32% 57%, 6% 41%, 39% 35%);
transform: scale(200%) rotate(50deg);
animation: sparkle 3000ms 5;
animation: sparkle 3000ms infinitegit push;
}

@keyframes sparkle {
Expand Down
7 changes: 7 additions & 0 deletions include.js
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,13 @@ let cards = [
author: 'Ornitcg',
githubLink: 'https://github.com/ornitcg'
},
{
artName: 'Flying-Baloon',
pageLink: './Art/Ornitcg/baloon/index.html',
imageLink: './Art/Ornitcg/baloon/baloon.gif',
author: 'Ornitcg',
githubLink: 'https://github.com/ornitcg'
},
{
artName: 'Circles',
pageLink: './Art/AmanRawat/index.html',
Expand Down