1,610 questions
3 votes
1 answer
107 views
multicolor linearGradient for ggplot background
I'm struggling to fill the background of this plot with a color gradient. There is a warning in the help for linearGradient that they are not supported on all graphics devices, but I've tried multiple ...
0 votes
2 answers
141 views
Adjacent linear gradients have small gaps after scaling
.bg { position: relative; --r: 32px; --corner-size: var(--r) var(--r); --corner-gradient: black 0%, black calc(var(--r) - var(--r)), transparent var(--r); ...
-1 votes
1 answer
113 views
TextView Gradient Colour not showing properly in android
I am trying to implement the gradient design into textview like below via LinearGradient but after trying for several hours even with AI tools i am not able to get desired result. I used this as ...
-2 votes
1 answer
253 views
how to do gradient borders in tailwind CSS?
how to do gradient borders in tailwind CSS? i searched on google but found only custom CSS solutions. We can do the background as gradient with Tailwind. is there any way to apply gradient on border ...
0 votes
1 answer
188 views
How to display a gradient overlay on SwiftUI Charts that starts and ends on specific data entries?
I’m working with SwiftUI Charts to display a user’s pulse over a week. The chart currently shows a LineMark with red points and a gray background rectangle to mark a “normal” pulse range. I want to ...
0 votes
0 answers
68 views
Combining CSS gradients and background colours
I'm trying to design the background for the hero section of a project. I've been having trouble getting the gradients and background color to work together as intended. I've tried adjusting the layer ...
0 votes
0 answers
76 views
How to reduce visible gradient transition lines in an SVG exported from Figma used as a background image?
I have this SVG that was exported from Figma that is being used as a background image for a hero section. I have had some complaints of the transition lines of the gradient being visible in the ...
0 votes
2 answers
110 views
CSS Linear Gradient not linear [closed]
I want to use a linear-gradient background where I eventually want to control when the gradient should start. Right now I have it set to start at 50%. I do that like this: .block{ font-family: '...
0 votes
1 answer
48 views
Setting linear-gradient offset as percentage without background-size
This looks simple and must be asked before, but I cannot find the question. I have the following animation: @keyframes bar-animation { to { background-position-y: 20px; } } ....
0 votes
2 answers
83 views
Why 2 linear gradients on 1 div are not being applied (Tailwind CSS)
The div I need to develop is this: The code I wrote for that is: <div className='[background-image:linear-gradient(to_bottom,#212639_100%,#062142_25%),linear-gradient(to_bottom,#ffffff_24%,#...
-1 votes
1 answer
127 views
Too much linear gradient text style being applied, despite it being same as Figma design style
I am trying to replicate a design in Figma for text with linear gradient. Here is my code, which I got from an article somewhere: <p className='font-inter-tight font-medium text-[18px] leading-[...
0 votes
1 answer
98 views
Move stroke gradient definition from SVG to CSS [duplicate]
There is a gradient, defined like this: <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="out-of-flow"&...
1 vote
1 answer
85 views
line gradient based on dynamic inputs
I am wondering if it is possible to create a custom gradient coloring for a line chart based on a field or parameter value. Based on my research, it does not seem to be possible, as I couldn’t find ...
1 vote
1 answer
48 views
Adding an average line to a gradient legend
I would like to add a line to a legend gradient bar. That's how my legend looks: enter image description here What I want is this: enter image description here My code: main_map <- ggplot() + ...
1 vote
0 answers
61 views
Fixed masked-image background-color with scrollable background image?
I'm building a small website with a rather particular background. My goal is to apply a masked background image gradient to the repeated background image pattern (flowers.png), in a way that the ...