This content originally appeared on DEV Community and was authored by Maxime Guilbert
After searching during hours, with people saying "it's impossible to do it with CSS or SVG", I found it!
With the following property, you will be able to define a circular gradient in CSS!
background:conic-gradient(from 0deg, #f00, #f0f, #00f, #0ff, #0f0, #ff0, #f00);
I hope it will help you!
This content originally appeared on DEV Community and was authored by Maxime Guilbert
Maxime Guilbert | Sciencx (2021-05-14T11:55:38+00:00) Create a circular gradient in CSS. Retrieved from https://www.scien.cx/2021/05/14/create-a-circular-gradient-in-css/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.