Skip to content

Commit

Permalink
adding my art to the project (#2391)
Browse files Browse the repository at this point in the history
* adding my art to the project

* Update include.js

removed comments

---------

Co-authored-by: Laureline Paris <32878345+LaurelineP@users.noreply.github.com>
  • Loading branch information
cpasigna90 and LaurelineP committed Oct 30, 2023
1 parent 43c5601 commit 30573ec
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 0 deletions.
Binary file added Art/cpasigna90/AnimationColorBox.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions Art/cpasigna90/boxcolorchange.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!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="style.css">
<title>Document</title>
</head>
<body>

<div class="animatedBox"></div>

</body>
</html>
20 changes: 20 additions & 0 deletions Art/cpasigna90/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.animatedBox {
display:flex;
align-items: center;
margin: auto;
border: 10px solid black;
background-color: aqua;
height: 300px;
width: 600px;
animation-name: example;
animation-duration: 4s;
margin-top: 200px;
}

@keyframes example {
0% {background-color: red;}
25% {background-color: yellow;}
50% {background-color: blue;}
100% {background-color: green;}
}

7 changes: 7 additions & 0 deletions include.js
Original file line number Diff line number Diff line change
Expand Up @@ -2676,6 +2676,13 @@ let cards = [
author: 'Jeeva Ramanathan',
githubLink: 'https://github.com/JeevaRamanathan'
},
{
artName: 'Box Color Changing',
pageLink: './Art/cpasigna90/boxcolorchange.html',
imageLink: './Art/cpasigna90/animationColorBox.gif',
author: 'Christian',
githubLink: 'https://github.com/cpasigna90'
},
];

/* -------------------------------------------------------------------------- */
Expand Down

0 comments on commit 30573ec

Please sign in to comment.