datenspuren: animate island svgs
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Astro 2023-06-29 00:50:32 +02:00
parent f3ddbc5aae
commit 406476c926
3 changed files with 111 additions and 45 deletions

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 105 KiB

After

Width:  |  Height:  |  Size: 108 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 224 KiB

After

Width:  |  Height:  |  Size: 224 KiB

View File

@ -38,22 +38,24 @@ h1:before {
content: url('island_l.svg');
position: absolute;
left: -20px;
animation: 10s ease-out arrive_l;
transform: translateZ(5px);
animation: 23s ease-out arrive_l;
}
h1:after {
display: inline-block;
content: url('island_r.svg');
position: absolute;
right: 0;
transform: translateZ(30px);
animation: 10s ease-out arrive_r;
right: 60px;
top: 20px;
transform: translateZ(25px);
animation: 23s ease-out arrive_r;
}
@keyframes arrive_l {
from {
transform: translateZ(-100px);
}
to {
transform: translateZ(0px);
transform: translateZ(5px);
}
}
@keyframes arrive_r {
@ -61,7 +63,7 @@ h1:after {
transform: translateZ(-50px);
}
to {
transform: translateZ(30px);
transform: translateZ(25px);
}
}