Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Apply subtle gradient-border treatments for premium web surfaces. Use when cards, pricing panels, nav bars, modals, buttons, or hero surfaces need a refined edge highlight without a loud glow.
.claude/skills/mengto-css-border-gradient/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -15% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 25% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -1% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 8% | 0% |
| case-11 | ✗→✓ | ▲ Improved | -12% | 0% |
border.1px; use 2px only for large hero cards or active states.135deg or 160deg.0.4; subtle beats shiny.Use this when the surface has a solid or translucent fill.
css.gradient-border { --surface: rgba(10, 14, 24, 0.72); --border-a: rgba(255, 255, 255, 0.34); --border-b: rgba(125, 92, 255, 0.36); --border-c: rgba(255, 255, 255, 0.08); border: 1px solid transparent; border-radius: 20px; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, var(--border-a), var(--border-b), var(--border-c)) border-box; }
html<div class="gradient-border"> ... </div>
Use this when the surface already has a complex background that should not be overwritten.
css.gradient-border-mask { position: relative; border-radius: 20px; } .gradient-border-mask::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient( 145deg, rgba(255, 255, 255, 0.34), rgba(125, 92, 255, 0.36) 45%, rgba(255, 255, 255, 0.08) ); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
Use arbitrary properties for one-off surfaces.
html<div class="rounded-2xl border border-transparent [background:linear-gradient(rgba(10,14,24,.72),rgba(10,14,24,.72))_padding-box,linear-gradient(135deg,rgba(255,255,255,.34),rgba(125,92,255,.36),rgba(255,255,255,.08))_border-box]"> ... </div>
border-color.| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-02 | fail→fail | 14,283 | 9,716 | -32% | 1 | 1 | 0% | 3,289 | 3,029 | -8% | 0 | 0 | — |
case-01 | fail→pass | 12,030 | 5,966 | -50% | 1 | 1 | 0% | 2,517 | 2,134 | -15% | 0 | 0 | — |
case-03 | fail→pass | 11,986 | 9,354 | -22% | 1 | 1 | 0% | 2,256 | 2,809 | +25% | 0 | 0 | — |
case-04 | pass→pass | 7,999 | 5,382 | -33% | 1 | 1 | 0% | 1,585 | 2,065 | +30% | 0 | 0 | — |
case-05 | fail→pass | 11,785 | 6,519 | -45% | 1 | 1 | 0% | 2,192 | 2,166 | -1% | 0 | 0 | — |
case-06 | fail→fail | 12,265 | 9,217 | -25% | 1 | 1 | 0% | 2,274 | 2,819 | +24% | 0 | 0 | — |
case-07 | fail→pass | 12,551 | 9,616 | -23% | 1 | 1 | 0% | 2,517 | 2,717 | +8% | 0 | 0 | — |
case-21 | pass→pass | 12,755 | 5,434 | -57% | 1 | 1 | 0% | 2,421 | 2,083 | -14% | 0 | 0 | — |
case-08 | pass→pass | 6,671 | 6,050 | -9% | 1 | 1 | 0% | 1,413 | 2,010 | +42% | 0 | 0 | — |
case-09 | pass→pass | 11,286 | 8,879 | -21% | 1 | 1 | 0% | 2,255 | 2,662 | +18% | 0 | 0 | — |
case-10 | fail→fail | 10,950 | 5,400 | -51% | 1 | 1 | 0% | 1,892 | 1,847 | -2% | 0 | 0 | — |
case-11 | fail→pass | 15,207 | 9,307 | -39% | 1 | 1 | 0% | 3,087 | 2,722 | -12% | 0 | 0 | — |
case-12 | pass→pass | 7,728 | 7,376 | -5% | 1 | 1 | 0% | 1,602 | 2,577 | +61% | 0 | 0 | — |
case-13 | pass→pass | 13,422 | 10,434 | -22% | 1 | 1 | 0% | 2,644 | 3,112 | +18% | 0 | 0 | — |
case-14 | pass→fail | 11,552 | 6,777 | -41% | 1 | 1 | 0% | 2,206 | 2,143 | -3% | 0 | 0 | — |
case-15 | pass→pass | 6,082 | 3,393 | -44% | 1 | 1 | 0% | 1,126 | 1,535 | +36% | 0 | 0 | — |
case-16 | pass→pass | 12,620 | 7,148 | -43% | 1 | 1 | 0% | 2,370 | 2,260 | -5% | 0 | 0 | — |
case-17 | pass→pass | 5,248 | 3,652 | -30% | 1 | 1 | 0% | 1,036 | 1,590 | +53% | 0 | 0 | — |
case-18 | pass→pass | 5,238 | 1,656 | -68% | 1 | 1 | 0% | 1,045 | 1,300 | +24% | 0 | 0 | — |
case-19 | fail→pass | 10,294 | 3,719 | -64% | 1 | 1 | 0% | 1,712 | 1,685 | -2% | 0 | 0 | — |
case-20 | pass→pass | 9,554 | 3,992 | -58% | 1 | 1 | 0% | 1,658 | 1,474 | -11% | 0 | 0 | — |
case-22 | pass→pass | 4,000 | 3,813 | -5% | 1 | 1 | 0% | 831 | 1,722 | +107% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +23 percentage points is the difference between those two pass rates over the 22 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.