Skip to content

Commit

Permalink
adding my new art (#2295)
Browse files Browse the repository at this point in the history
* adding my animation

* create circle animation

* add immage

* Update include.js

I'm very sorry for my inattentiveness :/

* update fokredd

* complex animation

* add image

* test

* Update square.html

* Update square.css

---------

Co-authored-by: Sophia Brandt <16630701+sophiabrandt@users.noreply.github.com>
Co-authored-by: Laureline Paris <32878345+LaurelineP@users.noreply.github.com>
  • Loading branch information
3 people committed Oct 22, 2023
1 parent da88356 commit 185c9c0
Show file tree
Hide file tree
Showing 6 changed files with 73 additions and 2 deletions.
46 changes: 46 additions & 0 deletions Art/K-Wiczling/complex.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
.inner {
background-color: red;
width: 100px;
height: 100px;
border-radius: 44%;
animation: box 15s infinite;
}
.box{
animation: rot 2s infinite;
background-color: black;
width: 300px;
height: 300px;
margin: 0 auto;
margin-top: 30vh;

}
#inner1{
background-color: red;

}
#inner2{
background-color: greenyellow;

}
#inner3{
background-color: goldenrod;

}
@keyframes box {
0% {
background-color: red;
}

100% {
background-color: green;
}
}
@keyframes rot {
0%,
100% {
transform: rotate(360deg);
}
50% {
transform: rotate(0deg);
}
}
15 changes: 15 additions & 0 deletions Art/K-Wiczling/complex.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<link rel="stylesheet" href="complex.css" />

<div class="animation-wrapper">
<div class="box">
<div class="inner" id="inner1">

</div>
<div class="inner" id="inner2">

</div>
<div class="inner" id="inner3">

</div>
</div>
</div>
Binary file added Art/K-Wiczling/complex.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Art/K-Wiczling/square.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
100% {
transform: scale(1);
}

50% {
transform: scale(1.5);
}
Expand Down
5 changes: 4 additions & 1 deletion Art/K-Wiczling/square.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<link rel="stylesheet" href="square.css" />

<div class="animation-wrapper">
<div class="box1"></div>

<div class="box1">
</div>

</div>
7 changes: 7 additions & 0 deletions include.js
Original file line number Diff line number Diff line change
Expand Up @@ -2179,6 +2179,13 @@ let cards = [
author: 'K-Wiczling',
githubLink: 'https://github.com/K-Wiczling'
},
{
artName: 'Complex',
pageLink: './Art/K-Wiczling/complex.html',
imageLink: './Art/K-Wiczling/complex.png',
author: 'K-Wiczling',
githubLink: 'https://github.com/K-Wiczling'
},
{
artName: 'Rolling Square Loader',
pageLink: './Art/psykat1611/index.html',
Expand Down

0 comments on commit 185c9c0

Please sign in to comment.