Agent skill

CSS Border Gradient Skill for AI Coding Agents

The css-border-gradient skill teaches an AI coding agent to add subtle gradient-border edges to cards, modals and buttons without a loud glow or rainbow effect.

Install
mkdir -p ~/.claude/skills/css-border-gradient && curl -o ~/.claude/skills/css-border-gradient/SKILL.md https://raw.githubusercontent.com/boraoztunc/skills/main/css-border-gradient/SKILL.md
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is the css-border-gradient skill?

css-border-gradient is a skill in boraoztunc/skills that gives an agent two CSS patterns, a padding-box and border-box layered background, or a masked pseudo-element, for a quiet gradient edge on cards, pricing panels, nav bars and modals. It sets defaults for width, angle and opacity so the border frames content instead of competing with it.

css-border-gradient is one skill in boraoztunc/skills. It tells an agent when a surface needs a more premium edge than a flat border, such as a pricing panel, hero card, modal or hover state, and hands it two CSS patterns for that edge.

The first pattern layers a solid background in the padding box with a gradient in the border box. The second masks a gradient pseudo-element around the surface when the background underneath is already complex and should not be overwritten.

What changes in the agent's output

  • The agent reaches for a 1px or 2px gradient border with neutral-accent-neutral stops instead of a flat solid border color.
  • Dark glass, pricing and hero surfaces get a quiet edge highlight rather than a bright glow or animated rainbow border.
  • Masked borders use both mask and -webkit-mask with matching composite keywords, so the edge renders in every engine instead of covering the surface.
  • Focus and hover states keep an accessible outline that does not depend only on the gradient being visible.

Taste rules it enforces

The skill caps most gradient stops below 0.4 opacity and applies the treatment to one hierarchy level at a time, such as the active tab or selected plan, rather than every card on a page.

Who the css-border-gradient skill is for

Best for

  • Pricing pages, hero panels and modals that need one refined accent edge.
  • Dark or glass UI where a flat border reads as too plain against the background.
  • Hover and focus states that want a brand accent without a loud effect.

Not for

  • If your job is mostly enforcing one minimalist editorial style across a whole page, the minimalist skill is the better fit for that.
  • If your job is mostly finding a CSS property that renders but has no visible effect, the CSS Noop Checker is the better fit for that.
  • When the task is tuning exact radius and shadow values across many components, the better-ui skill is the better fit for that.

Use it with UiChemy

A gradient border is a styling detail on top of an existing layout. Once the card or modal is styled, UiChemy AI to WordPress brings that front-end build into an editable WordPress page.