-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1726 from zero-to-mastery/clean-up-repo
fixed include.js
- Loading branch information
Showing
3 changed files
with
26 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters