My designer created this design with an arc. I have covered it in light and dark mode by using a .png. However it looks horrible in forced dark mode.
This is what I am trying to achieve. I am stumped hopefully someone can helpenter image description here This is what I see now actually any place I look besides my iPad the arc is white
enter image description here
I would like to achieve this with code instead of using a png so i have more control over the design
2
Answers
Yes you can achieve that using CSS background gradient radial.
Add the following css to your page
And adjust it to your needs
I created a Codepen so You can see it working here
https://codepen.io/Familia-Santiaborg/pen/poQpwRm
Remember it is just an example and you need to adjust the colors with the colors of your choice
You can also adjust the form using the % values
To achieve this, try this code.