<html>
<div class="grain"></div>

</html>
html,
body {
  background: #3353ff;
  padding: 0;
  margin: 0;
}

.grain {
  // opacity: 0.7;
  mix-blend-mode: soft-light;
  animation: grain 0.4s steps(1) infinite;
  height: 100vh;
  width: 100vw;
  background-image: url("https://assets.codepen.io/14179/noise-256w.png");
}

@keyframes grain {
  0%,
  100% {
    background-position: 0 0;
  }
  20% {
    background-position: 50% 50%;
  }
  40% {
    background-position: 25% 25%;
  }
  60% {
    background-position: 75% 75%;
  }
  80% {
    background-position: 0% 100%;
  }
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.