flavors
이미지3D도구요금제후원
← 모든 Flavors 무료 도구

CSS 그라데이션 테두리 생성기

선형·원뿔형 색상 정지점, 둥근 모서리, 투명·불투명 카드와 회전 옵션을 지원해요. 어두운 배경과 밝은 배경에서 미리 보고 CSS 원문이나 Tailwind v4로 내보내세요.

Presets
어둡게
Pro 플랜$9/mo리믹스, REST + MCP, 광고 없음
밝게
Pro 플랜$9/mo리믹스, REST + MCP, 광고 없음
CSS 원문
.gradient-border {
  border: 2px solid transparent;
  border-radius: 20px;
  background:
    linear-gradient(#0e0e11, #0e0e11) padding-box,
    linear-gradient(135deg, #ff5f6d 0%, #ffc371 50%, #a855f7 100%) border-box;
}
Tailwind v4
<div class="rounded-[20px] border-[2px] border-transparent [background:linear-gradient(#0e0e11,#0e0e11)_padding-box,linear-gradient(135deg,_#ff5f6d_0%,_#ffc371_50%,_#a855f7_100%)_border-box]">…</div>
방식
그라데이션
움직임
색상 스톱
#ff5f6d0%
#ffc37150%
#a855f7100%
Flavors Pro · $49/yr or $9/mo

Need a complete UI system around this border?

Pair this border with complete AI-ready UI design languages, 3D hero components, Tailwind v4 themes, and REST + MCP access.

Unlock full kits in Flavors ProSign in straight to $49/yr checkout

FAQ

CSS에서 border-radius가 있는 그라데이션 테두리는 어떻게 만드나요?

border-image는 border-radius를 무시하므로 둥근 그라데이션 테두리에는 다른 기법이 필요해요. 불투명한 카드에는 배경을 두 겹으로 쌓으세요. 단색 채우기는 padding-box에, 그라데이션은 border-box에 맞추고 테두리는 투명하게 설정해요. 투명한 카드에는 ::before 레이어에 그라데이션을 그리고 mask-composite: exclude로 가운데를 잘라내세요.

투명한 배경에 그라데이션 테두리를 만들려면 어떻게 하나요?

mask-composite 기법을 사용하세요. ::before 의사 요소에 그라데이션을 넣고 테두리 너비만큼 padding을 설정한 다음, 두 마스크(content-box와 전체 상자)를 exclude로 합성하면 테두리 링만 남아요. 카드 배경은 완전히 투명하게 유지돼요.

회전하는 그라데이션 테두리에 애니메이션을 적용하려면 어떻게 하나요?

@property --border-angle을 <angle>로 등록하고 그라데이션 방향(conic-gradient(from var(--border-angle), …))에 사용한 뒤 @keyframes로 애니메이션을 적용하세요. @property가 없으면 브라우저가 각도를 보간하지 못해 테두리가 회전하지 않고 튀어요.

Tailwind CSS v4에서도 작동하나요?

네. 생성기는 [background:…_padding-box,…_border-box], before:mask-exclude 같은 임의값 유틸리티와 회전이 켜져 있을 때 사용할 @theme 애니메이션 토큰을 출력해요. 마크업을 붙여 넣고, 애니메이션을 쓴다면 스니펫도 globals.css에 추가하세요.

CSS 그라데이션 테두리는 어떤 브라우저에서 지원하나요?

현재 지원되는 모든 브라우저에서 사용할 수 있어요. mask-composite: exclude는 Chrome 120+, Safari 15.4+, Firefox 53+에서 접두사 없이 지원돼요. 구형 WebKit은 -webkit-mask-composite: xor 줄로 지원해요. @property도 현재 브라우저에서 모두 지원돼요.

More Free Design Tools

View all tools →
16 Google Font pairs

Google Font Pairings Generator

16 curated Google Font heading + body pairings with live editable preview, Google Fonts link & Tailwind v4.

Open tool
5-layer shadows

CSS Box Shadow Generator

Multi-layer CSS box-shadow studio with 8 curated presets, inset support & Tailwind utility export.

Open tool
WCAG AA/AAA

WCAG Color Contrast Checker

Check WCAG AA/AAA & UI contrast in HEX, RGB or OKLCH and auto-fix failing pairs in one click.

Open tool
70s · 80s · 90s · Y2K

Retro Color Palette Generator

70s groove, 80s synthwave, 90s Memphis, Y2K Chrome, Mid-Century, Bauhaus & Kodak Film palettes.

Open tool
Curated moods & WCAG

Aesthetic Color Palette Generator

Matcha & Cream, Dark Academia, Japandi, Pastel Dream & harmony sliders with WCAG badges.

Open tool
HTML · BRAND.md · CSS

Brand Guidelines Generator

Build a live mini brand book and export HTML brand sheet, BRAND.md or CSS design tokens.

Open tool
50–950 OKLCH scales

Tailwind v4 Palette Generator

Perceptually uniform 50–950 Tailwind v4 OKLCH scales and dark-mode palettes.

Open tool
HEX ↔ OKLCH

OKLCH Color Converter

Convert HEX to OKLCH and OKLCH to HEX with live Lightness, Chroma & Hue sliders.

Open tool
Frosted glass CSS

CSS Glassmorphism Generator

Frosted-glass CSS & Tailwind v4 cards with live backdrop-filter blur and saturation.

Open tool

flavors · 분위기는 템플릿이 아니에요 · © 2026

Flavors이미지3D무료 도구요금블로그소개문의후원변경 사항버그 신고커뮤니티개인정보 보호이용약관Affiliates
Popular toolsGoogle Font PairingsBox Shadow GeneratorColor Contrast CheckerRetro Color PaletteAesthetic PaletteBrand GuidelinesGradient Border CSS