mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 12:19:31 +02:00
changed animation style
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
.main {
|
.main {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
margin-top: 48px;
|
padding-top: 48px;
|
||||||
border-radius: 40px;
|
border-radius: 40px;
|
||||||
background: #EF4444;
|
background: #EF4444;
|
||||||
box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
|
box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
|
||||||
@@ -39,16 +39,26 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@keyframes RaindowAnimate {
|
@keyframes RaindowAnimate {
|
||||||
0% { color: red; }
|
from {
|
||||||
25% { color: orange; }
|
color: #6666ff;
|
||||||
50% { color: yellow; }
|
}
|
||||||
75% { color: green; }
|
10% {
|
||||||
100% { color: blue; }
|
color: #0099ff;
|
||||||
|
}
|
||||||
|
50% {
|
||||||
|
color: #00ff00;
|
||||||
|
}
|
||||||
|
75% {
|
||||||
|
color: #ff3399;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
color: #6666ff;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.main__content h4 span {
|
.main__content h4 span {
|
||||||
animation: RaindowAnimate 5s infinite;
|
animation: RaindowAnimate 5s infinite;
|
||||||
animation-delay: 1s;
|
animation-delay: 5s;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* /Main */
|
/* /Main */
|
||||||
Reference in New Issue
Block a user