VibeFX
Live preview · fully interactive

The prompt

Build two diagonal marquees.

## Look
Rows are clamp(28px, 6vw, 64px), weight 700. First row #f2f2f7 rotated -6deg. Second row #7c6cff rotated 6deg. Page #08080d. Duplicate the text so the loop is seamless.

## Behavior
Translate the inner span by -50% on X. Reverse the second row.

## Design tokens
- Colors #f2f2f7 and #7c6cff; page #08080d.

## Motion
- Duration 14s, linear, infinite.

## Constraints
- Single self-contained HTML file. No libraries. CSS only.
- Honor prefers-reduced-motion: reduce by skipping the loop and leaving a readable static frame
- Readable at 390px width with no horizontal page scroll

The code

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<style>
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html, body { min-height: 100%; }
  body {
    background: #08080d; color: #f2f2f7; font-family: Inter, system-ui, sans-serif;
    min-height: 100vh; overflow: hidden;
  }
  .hint { position: absolute; left: 16px; top: 16px; z-index: 5; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #8a8a99; }
  .row { position: absolute; left: -10%; width: 160%; white-space: nowrap; font-size: clamp(28px, 6vw, 64px); font-weight: 700; letter-spacing: -0.04em; } .a { top: 38%; color: #f2f2f7; transform: rotate(-6deg); } .b { top: 52%; color: #7c6cff; transform: rotate(6deg); } .row span { display: inline-block; padding-right: 48px; animation: slide 14s linear infinite; } .b span { animation-direction: reverse; } @keyframes slide { to { transform: translateX(-50%); } }
  @media (max-width: 420px) {
    .hint { font-size: 10px; letter-spacing: 0.08em; }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
  }
</style>
</head>
<body>
<p class="row a"><span>VIBEFX · PREVIEW · COPY · SHIP · VIBEFX · PREVIEW · COPY · SHIP · </span></p><p class="row b"><span>PASTE THE PROMPT · PASTE THE PROMPT · PASTE THE PROMPT · </span></p>

<script>

</script>
</body>
</html>

About this effect

Two full-width rows rotate -6deg and 6deg and translate forever. One row says the product, the other says the action. Duration 14s linear.

Similar effects