CSS 渐变生成器
使用直观的可视化编辑器创建漂亮的 CSS 渐变。从预设中选择或自定义颜色、位置和角度。
0°90°180°270°360°
%
%
background: linear-gradient(135deg, #00d4ff 0%, #a855f7 100%);
CSS Gradients - 技术详情
CSS gradients let you display smooth transitions between two or more colors. They're created using the background-image property with linear-gradient() or radial-gradient() functions.
命令行替代方案
/* Linear Gradient */\nbackground: linear-gradient(135deg, #00d4ff, #a855f7);\n\n/* Radial Gradient */\nbackground: radial-gradient(circle, #00d4ff, #a855f7);