-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
05e7bef
commit 1ef1d13
Showing
2 changed files
with
45 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* retrieved from https://stackoverflow.com/questions/54702124/rainbow-text-animation-using-only-css */ | ||
/* Asked and written by Azazel */ | ||
/* Completed by Austen Holland */ | ||
|
||
/* removed #shadowbox styling */ | ||
|
||
.rainbow { | ||
text-align: center; | ||
text-decoration: underline; | ||
font-size: 16px; /* original value was 32, changed it */ | ||
font-family: monospace; | ||
letter-spacing: 5px; | ||
} | ||
.rainbow_text_animated { | ||
background: linear-gradient(to right, #6666ff, #0099ff , #00ff00, #ff3399, #6666ff); | ||
-webkit-background-clip: text; | ||
background-clip: text; | ||
color: transparent; | ||
animation: rainbow_animation 6s ease-in-out infinite; | ||
background-size: 400% 100%; | ||
} | ||
|
||
@keyframes rainbow_animation { | ||
0%,100% { | ||
background-position: 0 0; | ||
} | ||
|
||
50% { | ||
background-position: 100% 0; | ||
} | ||
} |
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