41 lines
627 B
CSS
41 lines
627 B
CSS
{b8a4457ac42fb9afcd9dd1623e03050822ab8c69 true 627 style.css 0xc001c457a0}
* {
|
|
box-sizing: border-box;
|
|
}
|
|
body {
|
|
margin: 0;
|
|
background-color: #8A2BE2;
|
|
}
|
|
div {
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
transform: translate(-50%, -50%);
|
|
color: white;
|
|
}
|
|
div span {
|
|
font-size: 65px;
|
|
letter-spacing: 5px;
|
|
text-transform: uppercase;
|
|
line-height: 1;
|
|
mix-blend-mode: difference;
|
|
}
|
|
div::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100px;
|
|
height: 100%;
|
|
background-color: white;
|
|
animation: move 4s linear infinite;
|
|
}
|
|
@keyframes move {
|
|
0%,
|
|
100% {
|
|
left: 0;
|
|
}
|
|
50% {
|
|
left: calc(100% - 100px);
|
|
}
|
|
}
|