Create linear, radial and conic gradients with live preview. Export clean CSS code.
创建线性、径向、圆锥渐变,实时预览,一键复制 CSS 代码。
Gradient Type
渐变类型
Angle
角度
135°
Color Stops
颜色节点
CSS CodeCSS 代码
How to Use This Tool使用说明
Select your gradient type: Linear, Radial, or Conic.
Add color stops by clicking the "+" button. Each stop has a color picker and position slider.
Adjust the gradient angle (for linear) or position (for radial/conic) using the controls.
The live preview updates in real-time as you make changes.
Click Copy CSS to copy the ready-to-use CSS code to your clipboard.
选择渐变类型:线性、径向或圆锥。
点击 "+" 按钮添加色标。每个色标有取色器和位置滑块。
使用控制器调整渐变角度(线性)或位置(径向/圆锥)。
实时预览会随您的更改即时更新。
点击 Copy CSS 复制可直接使用的 CSS 代码到剪贴板。
Frequently Asked Questions常见问题
What is a CSS gradient? — A CSS gradient creates a smooth transition between two or more colors without using images. It reduces page load time and scales perfectly at any resolution.
What is the difference between linear, radial, and conic? — Linear gradients transition along a straight line (top to bottom, left to right, etc.). Radial gradients transition from a center point outward. Conic gradients transition around a center point like a color wheel.
Can I use gradients in all browsers? — Yes. CSS gradients are supported in all modern browsers including Chrome, Firefox, Safari, and Edge.