Questions tagged [conic-gradients]
15 questions
5
votes
3 answers
How to reduce the size of a css gradient pattern
Am I able to have this linear-gradient pattern be reduced in size further than what I was able to achieve?
Is it possible to do?
In my 1st example, the code is really long, in my 2nd example I was able to make the code smaller/shorter.
I wanted to…
user17109244
3
votes
2 answers
Conic-gradient with linear gradients as fallback
Is there any way to set up a conic-gradient background that would, due to lack of support, have a regular linear gradient as fallback in Firefox, IE, Safari, etc.? Any way I try to set this up, the linear gradient overrides the conic in Chrome.

Ellen
- 33
- 2
2
votes
1 answer
Is there any way to animate a conic-gradient in CSS?
I have a circular graph that I want to use to track progress. I use this SASS definition:
@for $i from 0 through 100
.circle-chart-#{$i}
background: conic-gradient($cyan $i * 1%, $graphBackground $i * 1%)
Is there any way to animate (or…

Faire
- 706
- 1
- 9
- 31
1
vote
1 answer
Best way to add conic gradient to the circle in SVG
I have a donut-like circle (progress circle) in React component and I want to add conic gradient to it. How to do that?
I know that in SVG we can not use conic gradients. I thought it can be done by using mask and usual block with added css with…

entithat
- 324
- 6
- 18
1
vote
1 answer
Visual Glitch with Conic-Gradient
I am trying to make a simple conic-gradient with css, but there is a strange horizontal line appearing. The lines are unpredictable and sometimes go away when the window is resized.
div {
width: 101.5px;
height: 101.5px;
background:…

Quincy Nash
- 141
- 1
- 6
1
vote
0 answers
How to merge two parts of conic-gradients in the background?
As a green hand in front-end, recently I was stuck in designing a single webpage. Here is my rendering of what I want:
rendering
What is needed to be emphasized is that the background should fit browser fully, without scoller bars. Here I use two…

RocketDev
- 15
- 3
1
vote
1 answer
Why the result of conical-gradient becomes as blurry as it gets away from the center?
I applied a conical gradient to circular div and this is the result. I want the color borders stay sharp as it is in the center or between first and last sections. How can I achieve that ?
.n1st-circle-menu {
background: conic-gradient(
…

Noiseymur
- 41
- 4
0
votes
1 answer
how to center a div between two percentages of a css pie chart (conic-gradient)
I'm trying to create a pie charts using css conic-gradient, but can't figure out how to center label of a particular color to display at the center of two percentages while keeping the proper radius and show it a little bit outside that graph…

Aamir Siddique
- 334
- 3
- 15
0
votes
0 answers
How can I use SVG mshpath with JSX?
I have an SVG with conic gradients that I want to use with React.
Conic gradients can be displayed using this polyfill http://tavmjong.free.fr/SVG/POLYFILL/MESH/mesh.js
My SVG contains meshpatch and other tags used for the mesh gradient that JSX…

user5507535
- 1,580
- 1
- 18
- 39
0
votes
1 answer
how to draw dashed and solid vertical lines with css gradient and transparent colors
I have this css background.
--c: rgba(84, 110, 122, 0.25) /* color */;
--t: 1px /* thickness */;
--g: 1%; /* gap */;
--d: 5px /* control the dashes */;
background:
linear-gradient(90deg,var(--c) var(--t),#0000 0)…

pdcc
- 363
- 5
- 17
0
votes
1 answer
How to Draw a circular progress Bar using QML in QT6
Conical gradient is not there in Qt6 and hence i want a circular progress bar just like the code. But i am unable to use Conical Gradient because import QtGraphicalEffects 1.15 is scrapped in Qt6
This is my code is there another alternative for…

Vinay
- 81
- 1
- 8
0
votes
1 answer
How to make the middle of a repeating-conic-gradient transparent?
I am trying to make the middle of a conic-gradient see-through/ transparent.
Which is bellow this example.
This makes it transparent in the middle using a radial gradient:
background: radial-gradient(circle, transparent 0% 35%, #0a0a0a…
user17382064
0
votes
0 answers
How to fix jagged edges on conic-gradient
I got a progress bar that I build using conic-gradient, but its edges look not sharp. I've found some suggestions online but none of them seem to work so far.
Here is the fiddle of the whole progress bar.
background-image: conic-gradient(
…

Beppe
- 189
- 2
- 4
- 14
0
votes
1 answer
Is there a way to add padding or boxshadow to a css conic-gradient section
I am try to implement a custom pie chart with css.
Currently i have
Is there any I can add a little padding or box-shadows to each conic-gradient segments?
Code
HTML
CSS
.pie-chart {
background:
…

Divin Irakiza
- 317
- 1
- 7
0
votes
0 answers
SVG - Apply conic gradient to SVG using CSS
Modern versions of Chrome and Firefox support conic gradients using CSS https://developer.mozilla.org/en-US/docs/Web/CSS/conic-gradient().
SVG doesn't support conic gradients, so would it be possible to apply conic gradients to SVG paths using…

user5507535
- 1,580
- 1
- 18
- 39