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

adding my art to the project #2919

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added Art/Steveo1975-Animation-Choas/icon.png
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unecessary icon

Please remove the icon as this will be generated once your PR is merged

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions Art/Steveo1975-Animation-Choas/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<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=Bangers&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="style.css">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Incorrect css file sheet ref to anticipate

  • the file should be named as styles.css and not style.css




<title>Animation-Nation</title>
</head>
<body>
<h1 class="position">Animation Chaos !</h1>
<div class="container">
<div class="circle"></div>
<div class="square"></div>
<span class="triangle"></span>
</div>
</body>
</html>













4 changes: 4 additions & 0 deletions Art/Steveo1975-Animation-Choas/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"artName": "Animation-Choas",
"githubHandle": "Steveo1975"
}
102 changes: 102 additions & 0 deletions Art/Steveo1975-Animation-Choas/style.css
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Incorrect css file

  • the file should be named as styles.css and not style.css

Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@

body {
background-color: red;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}

h1 {
font-family: "Bangers", serif;
font-weight: 400;
font-style: normal;
color: black;
text-shadow: 3px 3px 5px grey;
font-size: 500%;
}


.position {
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
text-align: center;
width: 100%;
}


.container {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
align-items: center;
width: 100%;
}

.circle {
background-color: purple;
width: 200px;
height: 200px;
border-radius: 50%;
animation:bounce 2s ease 20;
}


@keyframes bounce {
0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
40%{transform: translateY(-50px);}
60%{transform: translateY(-50px);}
}




.square {
background-color: blue;
width: 200px;
height: 200px;
animation:pulse 2s 20;
}
@keyframes pulse {
0%
100% {
transform: rotate(-45deg) scale(1);
}
50% {
transform: rotate(-45deg) scale(1.5);
}
}




.triangle {
width: 0;
height: 0;
border-bottom: 200px solid green;
border-left: 100px solid transparent;
border-right: 100px solid transparent;
animation-duration: 2s;
animation-name: spin;
animation-timing-function: ease-in-out;
animation-delay: 1s;
animation-iteration-count: 20;
animation-direction:normal;
animation-fill-mode:forwards; ;
}

@keyframes spin {
0% {

}
100% {
transform: rotate(360deg);
}
}