I got the problem, that if I remove the "background-color" of ".box-with-text" the text-fill doesn't work.
.box-with-text {
text-transform: uppercase;
font: bold 6rem Open Sans, Impact;
background: black;
color: white;
mix-blend-mode: multiply;
}
@keyframes stripes {
to {
background-size:100% 100%;
}
}
.wrapper {
max-width: 300px;
margin: 0 auto;
}
.container {
display: flex;
background: linear-gradient( crimson , crimson) white no-repeat 0 0;
background-size: 0 100%;
animation: stripes 5s;
animation-fill-mode: forwards;
text-align: center;
}