Skip to content

Commit

Permalink
(CI) format code
Browse files Browse the repository at this point in the history
  • Loading branch information
Zero to Mastery committed Sep 12, 2023
1 parent 185ffec commit 8307c8f
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 28 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);
}
}

0 comments on commit 8307c8f

Please sign in to comment.