Shine border

From nexu-io/motion-anything · View interactive version

Shine border is an AI agent skill from the GitHub repository nexu-io/motion-anything. Give one hero card or CTA quiet premium life: a soft band of light travels around its border. One shining element per view; keep it slow and low-contrast. Pure CSS. Fully static under prefers-reduced-motion. Do not put several on screen at once.

How to use this skill

Skill file

shine-border

A light that travels around an element's border. Part of

motion-anything; obeys MOTION-SPEC.md. Technique

popularized by Magic UI, reimplemented dependency-free (pure CSS).

When to use it

When NOT to use it (restraint)

How to apply

  1. Copy shine-border.css into the project and link it.
  2. Mark the element:

```html

<div class="shine"> … </div>

```

  1. Tune with CSS vars: --shine-color, --shine-width, and the animation duration (default 4s).

Accessibility & performance

Framework notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.