This commit is contained in:
parent
d686dda07b
commit
ecbe3c2b5c
@ -31,11 +31,23 @@
|
|||||||
}
|
}
|
||||||
h1::after {
|
h1::after {
|
||||||
content: "";
|
content: "";
|
||||||
background-color: #ffe800;
|
|
||||||
background: repeating-linear-gradient(45deg, #ffe800, #ffe800 0.5rem, #222 0.5rem, #222 1.0rem);
|
|
||||||
display: block;
|
display: block;
|
||||||
height: 0.5rem;
|
height: 0.5rem;
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
|
background: repeating-linear-gradient(
|
||||||
|
45deg,
|
||||||
|
#ff8c00, /* Orange */
|
||||||
|
#ff8c00 1rem,
|
||||||
|
#222 1rem,
|
||||||
|
#222 2rem
|
||||||
|
);
|
||||||
|
background-size: 300% 100%; /* Makes animation smooth */
|
||||||
|
animation: moveStripes 3s linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes moveStripes {
|
||||||
|
0% { background-position: 0 0; }
|
||||||
|
100% { background-position: -4rem 0; } /* Moves further to ensure smooth loop */
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user