more css
This commit is contained in:
23
index.css
23
index.css
@ -10,6 +10,10 @@ div.container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
background:
|
||||
linear-gradient(rgba(255, 0, 0, 1) 0%, rgba(255, 154, 0, 1) 10%, rgba(208, 222, 33, 1) 20%, rgba(79, 220, 74, 1) 30%, rgba(63, 218, 216, 1) 40%, rgba(47, 201, 226, 1) 50%, rgba(28, 127, 238, 1) 60%, rgba(95, 21, 242, 1) 70%, rgba(186, 12, 248, 1) 80%, rgba(251, 7, 217, 1) 90%, rgba(255, 0, 0, 1) 100%) 0 0/100% 200%;
|
||||
animation: rainbow 5s linear infinite;
|
||||
}
|
||||
|
||||
video {
|
||||
@ -18,4 +22,23 @@ video {
|
||||
max-width: 1920px;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
border-radius: 24px;
|
||||
box-shadow: 12px 12px 12px 12px rgba(0, 0, 0, 0.5);
|
||||
animation: 3s ease-in-out 1s alternate infinite scale;
|
||||
}
|
||||
|
||||
@keyframes scale {
|
||||
from {
|
||||
transform: scale(1) rotate(0deg);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: scale(1.1) rotate(1deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes rainbow {
|
||||
to {
|
||||
background-position: 0 -200%
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user