Basic example
example.css
background: radial-gradient(circle at center, #fff, #94a3b8);
The radial-gradient() function transitions colors from a center point outward.
background: radial-gradient(circle at center, #fff, #94a3b8);background: radial-gradient(circle at center, #fff, #94a3b8);background: radial-gradient(circle at center, #fff, #94a3b8);radial-gradient() is a modern CSS feature.
Supported in current major browsers with progressive enhancement.
Bottom line: Keep a readable fallback when using newer syntax.
Continue with conic-gradient().
CODETOFUN NEWS
Get the latest IT news, programming updates, and technology trends directly on your phone.
Your daily dose of tech, straight to your feed.
2 people found this page helpful