今日已更新 31 条资讯 | 累计 29765 条内容
关于我们

Stop writing CSS gradients by hand — free generator with Tailwind and SCSS export

Avishek Dhimal 2026年07月26日 11:13 5 次阅读 来源:Dev.to

Writing linear-gradient(135deg, #667eea 0%, #764ba2 100%) from scratch every time is tedious. Remembering the syntax for radial and conic gradients is even worse. I added a free CSS gradient generator to PaletteCSS that handles all three gradient types with a live visual preview. What it supports linear-gradient — any angle, drag the dial or type degrees radial-gradient — circular and elliptical conic-gradient — pie-chart style, great for progress rings and color wheels Up to 5 color stops with draggable positions Instant copy in 3 formats CSS background : linear-gradient ( 135 deg , #667 eea 0 %, #764 ba2 100 %); SCSS $gradient-primary : linear-gradient ( 135deg , #667eea 0% , #764ba2 100% ); Tailwind style="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%)" Try it free 👉 https://palettecss.com/css-gradient-generator No signup. The site also has a browsable gradient library if you want inspiration rather than building from scratch. Any gradient types or export formats you'd want added? Drop a comment.

本文内容来源于互联网,版权归原作者所有
查看原文