animated barber pole background

This commit is contained in:
2024-03-30 13:58:56 +01:00
parent 96e09d3a10
commit 67e80e2eed

View File

@@ -5,8 +5,17 @@ main {
}
.lines {
background-image: url("/diagonal_lines_home.png");
background-size: cover;
background-color: #1c1427;
background-image:
repeating-linear-gradient(
-45deg,
transparent,
transparent 2rem,
#1e162a 2rem,
#1e162a 4rem
);
background-size: 100vw 99.3vh;
animation: barberpole 8s linear infinite;
background-repeat: repeat;
min-height: 75vh;
padding-inline: 10vw;
@@ -43,7 +52,7 @@ main {
.home-title {
margin: 0;
color: #fff;
font-family: "Tanker-Regular";
font-family: "Tanker-Regular", "Arial";
}
.using-engines {
@@ -94,3 +103,9 @@ main {
background-position: 500px;
}
}
@keyframes barberpole {
100% {
background-position: 100% 100%;
}
}