css-border-gradient
/css-border-gradient
Nakłada subtelne obramowania z gradientem na eleganckich powierzchniach webowych: karty, panele cenowe, nawigacja, modale i przyciski, bez krzykliwej poświaty.
Ocena i bezpieczeństwo
- Pliki w paczce
- 12
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 26.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Nakłada subtelne obramowania z gradientem na eleganckich powierzchniach webowych: karty, panele cenowe, nawigacja, modale i przyciski, bez krzykliwej poświaty.
Oryginalny opis (EN)
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.
Jak działa
- Use When
- Defaults
- Simple CSS Pattern
- Masked Pattern
- Tailwind Shortcut
- Taste Rules
- Quick Checks
Podgląd SKILL.md
---
name: css-border-gradient
description: 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.
---
# Border Gradients
## Use When
- A surface needs a more premium edge than a flat `border`.
- Dark glass, pricing, hero, modal, or feature-card UI feels too plain.
- A hover or focus state needs a quiet brand accent.
## Defaults
- Width: `1px`; use `2px` only for large hero cards or active states.
- Radius: inherit the parent radius.
- Angle: `135deg` or `160deg`.
- Stops: neutral highlight, one brand accent, neutral fade.
- Opacity: keep most stops below `0.4`; subtle beats shiny.
## Simple CSS Pattern
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>
```
## Masked Pattern
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;
}
```
## Tailwind Shortcut
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>
```
## Taste Rules
- Apply to one hierarchy level at a time: primary card, active tab, selected plan, or hero panel.
- Do not use rainbow borders, full-saturation neon, or animated gradients by default.
- Keep the border quieter than the content. It should frame, not compete.
- Pair with restrained depth: a soft shadow or inner highlight is enough.
- Check light and dark themes separately; the same alpha rarely works for both.
## Quick Checks
- No double border from an existing `border-color`.
- Radius matches the surface exactly.
- The gradient is visible at normal zoom but barely noticeable when scanning.
- Focus states remain accessible and do not rely only on the gradient.
Pliki w paczce (12)
- SKILL.md 3 KB
- demo/PROMPT.md 2 KB
- demo/index.html 44 KB
- demo/preview.jpg 96 KB
- demo/source.json 4 KB
- demo/assets/page-01-65695f80-23f9-46ee-8487-cbb6c93cc48b-3840w.webp 524 KB
- demo/assets/page-02-724142aa-44a6-48d3-9cf3-761e00d05b78-1600w.jpg 966 KB
- demo/assets/page-03-4734259a-bad7-422f-981e-ce01e79184f2-1600w.jpg 44 KB
- demo/assets/page-04-005600e5-f6ab-4e59-bc86-eaeb02797dfa-1600w.jpg 712 KB
- demo/assets/page-05-e534354d-c5f2-4399-a1d9-2f50338e8c47-1600w.jpg 83 KB
- demo/assets/page-06-fb6415fd-bf4d-4ccf-8e9d-7ab445e99207-1600w.jpg 197 KB
- demo/assets/source-preview.jpg 136 KB
Wersje
W bazie nie ma innych skilli o nazwie css-border-gradient.
Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.
Migawka bazy z 13.11.2026 · wersja paczki 851e8c585be9 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100text-motion
Dostarcza zestaw animacji tekstu, gradientów i przejść do wideo motion graphics w HTML i CSS: podświetlenia słów, gradientowe nagłówki, dekodowanie liter, tło z gradientem i szklane akcenty interfejsu. - 100design-stylecards
Udostępnia katalog nazwanych receptur estetycznych: dokładne stosy cieni, powierzchnie szklane, gradienty i skale typograficzne jako wartości do wklejenia z regułami użycia. - 100glass-dark-ui
Buduje ciemne interfejsy glassmorphism z czytelnym kontrastem, matowymi powierzchniami i gradientowymi obramowaniami z maską pseudoelementu. - 95peak-gradient
Buduje w SVG rozmytą poświatę z kolumn o tęczowym gradiencie, wznoszących się od dolnej krawędzi ekranu. - 100gradient-design
Prowadzi przez wdrożenie stylu Gradient Design w webie i aplikacjach: intensywne gradienty, żywe przejścia i nowoczesny, energiczny charakter. - 100gradient-design
Prowadzi przez wdrożenie stylu Gradient Design w webie i aplikacjach: intensywne gradienty, żywe przejścia i nowoczesny, energiczny charakter.