Skip to content
cccskills
FreePublished on GitHub

shine-border

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.

The English summary is being prepared. Showing the original description.

See how to install

Files included (4)

  • SKILL.md1.9 KB
  • preview.html1.2 KB
  • recipe.motion.yaml1.7 KB
  • shine-border.css1.3 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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

  • A single hero card / CTA / "recommended" tier you want to feel alive as it sits on screen.

When NOT to use it (restraint)

  • Multiple elements at once — competing lights become noise. One per view.
  • Calm / serious content, or anything already animating strongly nearby.

How to apply

  1. Copy shine-border.css into the project and link it.
  2. Mark the element:
    <div class="shine"> … </div>
    
  3. Tune with CSS vars: --shine-color, --shine-width, and the animation duration (default 4s).

Accessibility & performance

  • Under prefers-reduced-motion the light stops and a plain static border remains.
  • Animates a masked conic-gradient (via @property --shine-angle) — compositor-friendly.

Framework notes

  • Works as-is in any framework; it is pure CSS. Scope --shine-* per component as needed.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Back In Down — a drop-in CSS keyframe animation from Animate.css (Hippocratic-2.1, © Daniel Eden). No JS required. Honors prefers-reduced-motion. Use restrained; attribute Animate.css.

The English summary is being prepared. Showing the original description.

nexu-io/motion-anything946Updated Jul 7, 2026

Back In Left — a drop-in CSS keyframe animation from Animate.css (Hippocratic-2.1, © Daniel Eden). No JS required. Honors prefers-reduced-motion. Use restrained; attribute Animate.css.

The English summary is being prepared. Showing the original description.

nexu-io/motion-anything946Updated Jul 7, 2026

Back In Right — a drop-in CSS keyframe animation from Animate.css (Hippocratic-2.1, © Daniel Eden). No JS required. Honors prefers-reduced-motion. Use restrained; attribute Animate.css.

The English summary is being prepared. Showing the original description.

nexu-io/motion-anything946Updated Jul 7, 2026

Back In Up — a drop-in CSS keyframe animation from Animate.css (Hippocratic-2.1, © Daniel Eden). No JS required. Honors prefers-reduced-motion. Use restrained; attribute Animate.css.

The English summary is being prepared. Showing the original description.

nexu-io/motion-anything946Updated Jul 7, 2026

Back Out Down — a drop-in CSS keyframe animation from Animate.css (Hippocratic-2.1, © Daniel Eden). No JS required. Honors prefers-reduced-motion. Use restrained; attribute Animate.css.

The English summary is being prepared. Showing the original description.

nexu-io/motion-anything946Updated Jul 7, 2026

Back Out Left — a drop-in CSS keyframe animation from Animate.css (Hippocratic-2.1, © Daniel Eden). No JS required. Honors prefers-reduced-motion. Use restrained; attribute Animate.css.

The English summary is being prepared. Showing the original description.

nexu-io/motion-anything946Updated Jul 7, 2026

See all skills by nexu-io

Report a problem with this skill