Skip to content

Commit

Permalink
Merge pull request #1726 from zero-to-mastery/clean-up-repo
Browse files Browse the repository at this point in the history
fixed include.js
  • Loading branch information
l-white committed Sep 12, 2023
2 parents 51d1e13 + 8307c8f commit d52d5ab
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 29 deletions.
20 changes: 9 additions & 11 deletions Art/OrnitCG/index.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CSS</title>
<link rel="stylesheet" type="text/css" href="styles.css">
</head>
<body>
<div class= "circ">
</div>

</body>
</html>
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>
<body>
<div class="circ"></div>
</body>
</html>
33 changes: 16 additions & 17 deletions Art/OrnitCG/styles.css
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@

.circ{
width: 200px;
height: 200px; /* Ensure width and height are equal for a circle */
border: 10px solid transparent;
border-image: linear-gradient(90deg, #ff0000, #00ff00, #0000ff, #ff0000);
border-image-slice: 1;
border-radius: 50%;
animation: roll 4s linear infinite;
animation-name: roll;
.circ {
width: 200px;
height: 200px; /* Ensure width and height are equal for a circle */
border: 10px solid transparent;
border-image: linear-gradient(90deg, #ff0000, #00ff00, #0000ff, #ff0000);
border-image-slice: 1;
border-radius: 50%;
animation: roll 4s linear infinite;
animation-name: roll;
}

@keyframes roll {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
2 changes: 1 addition & 1 deletion include.js
Original file line number Diff line number Diff line change
Expand Up @@ -6553,7 +6553,7 @@ let cards = [
imageLink: './Art/detonate-button/detonate-button.gif',
author: 'carv066',
githubLink: 'https://github.com/carv0066'
}
},
{
artName: 'Rolling',
pageLink: './Art/OrnitCG/index.html',
Expand Down

0 comments on commit d52d5ab

Please sign in to comment.