Skip to content

Distort Hover

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

Glitch & DistortionHTMLCSSany framework
DISTORT

Copy into your project

HTML
<!-- Distort Hover — skew + slight blur + RGB shadow split on hover. -->
<span class="nuda-glitch-distort">DISTORT</span>
CSS
/* ── Distort Hover ───────────────────────────────────────────
   A single eased transition (no looping animation, so nothing can
   strobe): on hover the text skews, picks up a faint blur, and
   splits into cyan/magenta shadow ghosts. Settles cleanly on leave.
   ──────────────────────────────────────────────────────────── */
.nuda-glitch-distort {
  display: inline-block;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #e4ff54;
  cursor: pointer;
  background: #09090b;
  padding: 0.3rem 0.55rem;
  transform: skewX(0) scale(1);
  filter: blur(0);
  text-shadow: 0 0 0 transparent;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1),
    filter 0.35s,
    text-shadow 0.35s;
}

.nuda-glitch-distort:hover {
  transform: skewX(-7deg) scale(1.04);
  filter: blur(0.6px);
  text-shadow: 2px 0 #00e5ff, -2px 0 #ff00d4;
}

/* ── Accessibility ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .nuda-glitch-distort,
  .nuda-glitch-distort:hover {
    transition: none;
    transform: none;
    filter: none;
    text-shadow: none;
  }
}

How to use Distort Hover

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 glitch & distortion components

← Browse all NudaUI components