ToolHop.

ADVERT

๐Ÿช„ Gradient Border

Generate gradient borders using CSS border-image or masking tricks. Customize stops, angles, widths, and instantly copy the CSS snippet.

Gradient Border Generator

Design multi-color gradient borders using CSS border-image or advanced masking tricks. Tweak colors, angles, and radii while previewing the result instantly.

Border settings

Gradient

Color stops

Preview

The gradient border wraps around your content. Adjust stops, width, and radius to match your brand.

Gradient borderToolhop
Gradient CSS
linear-gradient(45deg, #6366f1 0%, #f97316 100%)
Stops
#6366f1 0%, #f97316 100%

Generated CSS

.gradient-border {
  background-color: #0f172a;
  border: 12px solid transparent;
  border-radius: 28px;
  border-image: linear-gradient(45deg, #6366f1 0%, #f97316 100%) 1;
}

border-image is widely supported and keeps the markup minimal. Pair it with a solid fallback color for older browsers.

ADVERT

ADVERT

Gradient Border Generator - CSS border-image & mask builder