Skip to content

Commit

Permalink
resolved merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
l-white committed Oct 3, 2023
2 parents e1e8a83 + 946ef7b commit c792135
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 0 deletions.
Binary file added Art/KrishayNair/circle.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
60 changes: 60 additions & 0 deletions Art/KrishayNair/rectangle.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
.rect1 {
animation-name: rectangle-animation;
animation-duration: 2s;
animation-direction: alternate;
animation-iteration-count: infinite;
animation-timing-function: linear;

width: 300px;
height: 100px;
border-radius: 10px;
position: absolute;
left: 0;
right: 0;
margin-left: auto;
margin-right: auto;
}
.rect2 {
animation-name: rectangle-animation2;
animation-duration: 2s;
animation-direction: alternate;
animation-iteration-count: infinite;
animation-timing-function: linear;

width: 300px;
height: 100px;
border-radius: 10px;
position: absolute;
left: 0;
right: 0;
margin-left: auto;
margin-right: auto;
}
body {
background-image: url('./circle.gif');
background-size: cover;
}
@keyframes rectangle-animation {
from {
background-color: #191ba9;
width: 300px;
top: 400px;
}
to {
background-color: #5cc2f2;
width: 50px;
top: 600px;
}
}
@keyframes rectangle-animation2 {
from {
background-color: #5cc2f2;
width: 50px;
top: 110px;
}
to {
background-color: #191ba9;
width: 300px;
top: 200px;
}
}
12 changes: 12 additions & 0 deletions Art/KrishayNair/rectangle.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8" />
<title>A rectangle</title>
<link href="./rectangle.css" rel="stylesheet" />
</head>
<body>
<div class="rect1"></div>
<div class="rect2"></div>
</body>
</html>
7 changes: 7 additions & 0 deletions include.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,13 @@ let cards = [
imageLink: './Art/ChrRepou/flower.gif',
author: 'ChrRepou',
githubLink: 'https://github.com/ChrRepou'
},
{
artName: 'Triangle',
pageLink: './Art/KrishayNair/rectangle.html',
imageLink: './Art/KrishayNair/circle.gif',
author: 'KrishayNair',
githubLink: 'https://github.com/KrishayNair'
}
];

Expand Down

0 comments on commit c792135

Please sign in to comment.