Skip to content

Risograph Misregistration

A copy-paste noise & grain component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.

Noise & GrainHTMLCSSany framework
RISORISO

Copy into your project

HTML
<!-- Risograph Misregistration — two offset color layers drift like a riso print -->
<div class="nuda-ng2-riso-misreg">
  <span class="nuda-ng2-riso-misreg__layer nuda-ng2-riso-misreg__layer--lime">RISO</span>
  <span class="nuda-ng2-riso-misreg__layer nuda-ng2-riso-misreg__layer--pink">RISO</span>
  <div class="nuda-ng2-riso-misreg__grain" aria-hidden="true"></div>
</div>
CSS
.nuda-ng2-riso-misreg {
  position: relative;
  width: 100%;
  max-width: 220px;
  height: 130px;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f1e7;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.nuda-ng2-riso-misreg__layer {
  position: absolute;
  font-family: ui-sans-serif,system-ui,sans-serif;
  font-weight: 800;
  font-size: 30px;
  letter-spacing: .06em;
  mix-blend-mode: multiply;
}

.nuda-ng2-riso-misreg__layer--lime {
  color: #c7d93e;
  animation: _nuda-ng2risomisreg-lime 4.5s ease-in-out infinite;
}

.nuda-ng2-riso-misreg__layer--pink {
  color: #e8558a;
  animation: _nuda-ng2risomisreg-pink 4.5s ease-in-out infinite;
}

.nuda-ng2-riso-misreg__grain {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.45' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 170px 170px;
  opacity: .22;
  mix-blend-mode: multiply;
  pointer-events: none;
}

@keyframes _nuda-ng2risomisreg-lime {
  0%,100% {
    transform: translate3d(-3px,-2px,0);
  }
  50% {
    transform: translate3d(2px,3px,0);
  }
}

@keyframes _nuda-ng2risomisreg-pink {
  0%,100% {
    transform: translate3d(3px,2px,0);
  }
  50% {
    transform: translate3d(-2px,-3px,0);
  }
}

@media (prefers-reduced-motion:reduce) {
  .nuda-ng2-riso-misreg__layer--lime,.nuda-ng2-riso-misreg__layer--pink {
    animation: none;
    transform: translate3d(-1px,-1px,0);
  }
  .nuda-ng2-riso-misreg__layer--pink {
    transform: translate3d(1px,1px,0);
  }
}

How to use Risograph Misregistration

Paste the HTML where you need it and the CSS into a global stylesheet (or a <style> tag). Every class is prefixed nuda- so it never collides with Tailwind or your own styles. Tweak the CSS custom properties to match your design system.

Works in React, Vue, Svelte, Astro, Next.js, Nuxt, Laravel Blade, Django, Rails — or a single .html file. No npm install, no build step.

More noise & grain components

← Browse all NudaUI components