css text effect noisy
by Osama Qassar
HTML
<div class="box">Text Effect</div>
CSS
.box {
text-transform: uppercase;
color: #0000;
font-family: sans-serif;
font-size: 100px;
font-weight: bold;
animation: pulse 2.5s infinite;
}
body {
margin: 0;
min-height: 100vh;
display: grid;
place-content: center;
background: #3c7455;
transitions: all 0.5s;
}
html {
background: #fff;
}
@keyframes pulse {
0% {
background:
repeating-radial-gradient(#000 0 0.0001%,#fff 0 0.0002%) 50% 0/2500px 2500px,
repeating-conic-gradient(#000 0 0.0001%,#fff 0 0.0002%) 50% 50%/2500px 2500px;
background-blend-mode: difference;
mix-blend-mode: lighten;
-webkit-background-clip: text;
background-clip: text;
}
50% {
background:
repeating-radial-gradient(#000 0 0.0001%,#fff 0 0.0002%) 50% 0/2000px 2500px,
repeating-conic-gradient(#000 0 0.0001%,#fff 0 0.0002%) 50% 50%/2000px 2500px;
background-blend-mode: difference;
mix-blend-mode: lighten;
-webkit-background-clip: text;
background-clip: text;
}
100% {
background:
repeating-radial-gradient(#000 0 0.0001%,#fff 0 0.0002%) 50% 0/2500px 2500px,
repeating-conic-gradient(#000 0 0.0001%,#fff 0 0.0002%) 50% 50%/2500px 2500px;
background-blend-mode: difference;
mix-blend-mode: lighten;
-webkit-background-clip: text;
background-clip: text;
}
}